EnableWorldCollisions()

Syntax

EnableWorldCollisions(State)
Description
Enable or disable the collisions in the world.

Parameters

State If nonzero, the collisions will be enabled (default). The collisions is applied to all the entities which have a body set with CreateEntityBody(). Collisions only work if the physics engine is enabled with EnableWorldPhysics().

Return value

None.

See Also

EnableWorldPhysics()

Supported OS

All

<- CreateWater() - Engine3D Index - EnableWorldPhysics() ->