EnableWorldPhysics()

Syntax

EnableWorldPhysics(State)
Description
Enable or disable the physics engine in the world.

Parameters

State If nonzero, the physics engine will be enabled (default). The physics engine is applied to all the entities which have a body set with CreateEntityBody(). Collisions can be enabled with EnableWorldCollisions(). To have working collisions, the physics engine has to be enabled.

Return value

None.

See Also

EnableWorldCollisions()

Supported OS

All

<- EnableWorldCollisions() - Engine3D Index - Engine3DStatus() ->