Difference between revisions of "MotorJoint:getAngularOffset"

(Created page)
 
m (Undo revision 18725 by Greenwing (talk))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{newin|[[0.9.0]]|090|type=method}}
 
{{newin|[[0.9.0]]|090|type=method}}
Gets the target angluar offset between the two Bodies the Joint is attached to.
+
Gets the target angular offset between the two Bodies the Joint is attached to.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Latest revision as of 07:39, 5 November 2016

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

Other Languages