EnableWorldPhysics()

语法

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

参数

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 EntityPhysicBody(). Collisions can be enabled with EnableWorldCollisions(). To have working collisions, the physics engine has to be enabled.

返回值

无.

参阅

EnableWorldCollisions()

已支持操作系统

所有

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