Difference between revisions of "Body:getGravityScale"

(Created page with "{{newin|0.8.0|type=method}} Returns the gravity scale factor. == Function == === Synopsis === <source lang="lua"> scale = Body:getGravityScale( ) </source> === Arguments ===...")
 
m
Line 1: Line 1:
{{newin|[[0.8.0]]|type=method}}
+
{{newin|[[0.8.0]]|080|type=method}}
 
Returns the gravity scale factor.
 
Returns the gravity scale factor.
  

Revision as of 13:44, 4 May 2012

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