EnableWorldCollisions()

语法

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

参数

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

返回值

无.

参阅

EnableWorldPhysics()

已支持操作系统

所有

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