Get the friction.
Get the impulses. Note: PhysicsImpulse can only used in onPostSolve callback.
Get the manifold.
Get the restitution.
Get the desired tangent speed.
Is this contact touching?
Reset the friction mixture to the default value.
Reset the restitution mixture to the default value.
Disabled contact for current time step or sub-step.
Override the default friction mixture. You can call this in onPreSolve callback.
Override the default restitution mixture. You can call this in onPreSolve callback.
Set the desired tangent speed for a conveyor belt behavior.
Generated using TypeDoc
PhysicsContact will be generated during begin and end collision as a parameter of the collision callback. Note that contacts will be reused for speed up cpu time, so do not cache anything in the contact.