PhysX World Helper
Ground Bounce And Friction group
Set the dynamics properties for the ground plane when Ground Collision Plane is on:
-
Restitution - The amount of energy that the ground plane restores to any particles that collide with it. Typically this produces a bouncing effect. Setting this to 1.0, the maximum value, potentially results in a condition that satisfies Newton's third law: To every action there is an equal and opposite reaction.
When Restitution is close to 1.0, the bounce effect is pronounced, but as a result, not much energy is dissipated during a collision, and the dynamics solution might lack stability. Use values close to 1.0 at your own risk: when you have a small number of colliding objects, and they don't bundle together.
-
Static Friction - The force that resists motion between two non-moving surfaces (particles and the ground).
-
Dynamic Friction - The force that resists motion between two moving surfaces (particles and the ground).
Note: The Box#2 interface does not have the ability to define these parameters for each material pair. Instead, the parameters are defined on per-material basis. The actual parameters for object-to-object interaction (the material-pair parameters) are calculated as an average of the parameters for each material.
Example 1:
PhysXWorldHelper_Restitution.zip
Example 2:
PhysXWorldHelper_StaticFriction.zip
Example 3:
PhysXWorldHelper_DynamicFriction.zip