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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.