FrictionEquation Class
Constrains the slipping in a contact along a tangent
Methods
setSlipForce
(
deprecated
-
slipForce
Set the slipping condition for the constraint. The friction force cannot be larger than this value.
Parameters:
-
slipForce
Number
Properties
contactEquation
ContactEquation
A ContactEquation connected to this friction. The contact equation can be used to rescale the max force for the friction.
frictionCoefficient
Number
The friction coefficient to use.
ri
Float32Array
Relative vector from center of body i to the contact point, in world coords.
rj
Float32Array
Relative vector from center of body j to the contact point, in world coords.
t
Float32Array
Tangent vector that the friction force will act along, in world coords.