Difference between revisions of "Body:isFixedRotation"

(Added Body:isFixedRotation.)
 
(See Also)
 
(One intermediate revision by one other user not shown)
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.
  
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 +
* [[Body:setFixedRotation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns whether the body rotation is locked.}}
 
{{#set:Description=Returns whether the body rotation is locked.}}
 
{{#set:Since=080}}
 
{{#set:Since=080}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Body:isFixedRotation}}
 
{{i18n|Body:isFixedRotation}}

Latest revision as of 16:50, 17 February 2024

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