Difference between revisions of "MotorJoint:getAngularOffset"

m
m (See Also: Fixed link)
Line 12: Line 12:
 
== See Also ==
 
== See Also ==
 
* [[parent::MotorJoint]]
 
* [[parent::MotorJoint]]
* [[MotorJoint:setAngularOffset]]
+
* [[MotorJoint:setLinearOffset]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the target angular offset between the two Bodies the Joint is attached to.}}
 
{{#set:Description=Gets the target angular offset between the two Bodies the Joint is attached to.}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|MotorJoint:getAngularOffset}}
 
{{i18n|MotorJoint:getAngularOffset}}

Revision as of 07:37, 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