Body:getGravityScale

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


doc_love
2017-03-21 15:40:57
Comments
Leave a Comment

Please login to continue.