Difference between revisions of "Body:isFixedRotation"

(Added Body:isFixedRotation.)
 
m
Line 1: Line 1:
{{newin|[[0.8.0]]|type=method}}
+
{{newin|[[0.8.0]]|080|type=method}}
 
Returns whether the body rotation is locked.
 
Returns whether the body rotation is locked.
  

Revision as of 13:45, 4 May 2012

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

Returns whether the body rotation is locked.

Function

Synopsis

fixed = Body:isFixedRotation( )

Arguments

None.

Returns

boolean fixed
True if the body's rotation is locked or false if not.

See Also


Other Languages