Mar 3, 2010 at 4:37 PM

Hi, can anyone tell me all the things i need to set for my ball to be able to bounce on my mesh?

right now it just completely stop(except sometimes move to some direction) when i release it from a height onto the mesh

Mar 3, 2010 at 4:39 PM

here is some values i tested

body.AngularDamping = 0.5f;// ps.materialProperties.Elasticity;
                body.CollisionGroup.CollisionShapes[0].StaticFriction = 0.1f;// ps.materialProperties.StaticRoughness;
                body.CollisionGroup.CollisionShapes[0].DynamicFriction = 0.1f;// ps.materialProperties.DynamicRoughness;
                body.CollisionGroup.CollisionShapes[0].Restitution = 0.5f;

Mar 4, 2010 at 2:37 AM

Try bumping up the restitution.  There's also a hart limit in the Collision.PreStep (look for a 2.5f somewhere) that keeps things in check at the price of dampened bounciness.