MotorJoint:getAngularOffset

Available since LÖVE 0.9.0
This method is not supported in earlier versions.

Gets the target angular offset between the two Bodies the Joint is attached to.

Function

Synopsis

angleoffset = MotorJoint:getAngularOffset( )

Arguments

None.

Returns

number angleoffset
The target angular offset in radians: the second body's angle minus the first body's angle.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/MotorJoint:getAngularOffset