Body:getGravityScale

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

Personal tools