SetFriction
This function is used to set the friction level for a hinge or kinematic joint.
Syntax
- SetFriction(number angularfriction)
- SetFriction(number angularfriction, number linearfriction)
Parameters
- angularfriction: This will set the friction of a hinge joint, or the amount of power a kinematic joint can use to force an entity's rotation.
- linearfriction: This will set the power a kinematic joint can use to force an entity's position.