Restitution Bug

It seems that "high" values of restitution (like 0.98) yield unatural physics, making the object bounce higher and higher. I think somewhere around 0.965 is the threshold. To recreate bug, put these 3 lines in Simulation Tutorial 1 in the proper place in CODECLIP 03-5:

Code Snippet

box.BoxShape.BoxState.Material = new MaterialProperties("foo", 0.98f, 0.5f, 0.5f);
box.BoxShape.BoxState.Material.Advanced = new MaterialAdvancedProperties();
box.BoxShape.BoxState.Material.Advanced.RestitutionCombineMode = CoefficientsCombineMode.Max;


-Ben
[738 byte] By [BenAxelrod[CoroWare]] at [2008-1-8]
# 1

The Ageia docs have the following to say about restitution:

Note: Restitution values near to 1 may cause increasing energy in bounces, depending on the restitution combine mode of the materials. It is therefore recommended that you take care to avoid combined restitution values near 1, at least in cases where the participants are supposed to be able to come to rest touching each other.

So apparently they have defined this as expected behavior and not a bug (although it is fun to watch).

-Kyle

KyleJ-MSFT at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...
# 2
This seems like a huge bug to me. I thought Ageia was supposed to be a powerful and accurate physics engine. It is absurd that it would have this unatural physics.

BenAxelrod[CoroWare] at 2007-10-2 > top of Msdn Tech,Microsoft Robotics Studio,Microsoft Robotics - Simulation...

Microsoft Robotics Studio

Site Classified