Difference between revisions of "Body:getGravityScale"

m
m (See Also: Add some related functions)
 
Line 13: Line 13:
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 +
* [[Body:setGravityScale]]
 +
* [[World:setGravity]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Returns the gravity scale factor.}}
 
{{#set:Description=Returns the gravity scale factor.}}
 
{{#set:Since=080}}
 
{{#set:Since=080}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Body:getGravityScale}}
 
{{i18n|Body:getGravityScale}}

Latest revision as of 19:26, 25 November 2019

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

Returns the gravity scale factor.

Function

Synopsis

scale = Body:getGravityScale( )

Arguments

None.

Returns

number scale
The gravity scale factor.

See Also


Other Languages