Joint:getForce
EditReturns the magnitude of the force used to satisfy the Joint's constraint during the last physics update, in newtons.
This is useful for breakable joints. Use Joint:destroy
to break the joint if its force goes above a threshold.
force = Joint:getForce()
Arguments
None
Returns
Name | Type | Description |
force | number | The magnitude of the force used to satisfy the Joint's constraint. |
Notes
This does not include the motor force of a SliderJoint
, see SliderJoint:getMotorForce
. that.