ExamineWorldCollisions()

语法

Result = ExamineWorldCollisions(Contacts)
概要
Examine the collisions which have occurred in the world since the last call. Collisions have to be enabled with EnableWorldCollisions() before using this command. To step through the collisions, use NextWorldCollision().

参数

Contacts If set the #True, contact information about the colliding objects are collected and can be retrieved with WorldCollisionContact(), WorldCollisionNormal() and WorldCollisionAppliedImpulse(). If set to #False, no contact informations are collected (faster).

返回值

Returns nonzero if the collisions can be examined, returns zero otherwise.

参阅

EnableWorldCollisions(), NextWorldCollision()

已支持操作系统

所有

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