SliderJoint:getMotorForce

Edit

Returns the current force the motor is using to reach its target, in newtons.

force = SliderJoint:getMotorForce()

Arguments

None

Returns

NameTypeDescription
forcenumber The current force, in newtons.

See also