SetFriction
This function is used to set the friction level for a hinge or kinematic joint.
Syntax
- void SetFriction(const float angularfriction)
- void SetFriction(const float angularfriction, const float 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.