WorldGravity()

Syntax

Result = WorldGravity(Gravity)
Description
Changes the gravity of the world when the physics engine is enabled with EnableWorldPhysics(). The default gravity is set to -9.806 (which is Earth's gravitational value).

Supported OS

All

<- WorldDebug() - Engine3D Index - WorldShadows() ->