EntityCollide()

语法

Result = EntityCollide(#Entity, #Entity2)
概要
Checks if the two specified entities are colliding.

To have its collisions managed by the physic engine, an entity needs a body created with EntityPhysicBody().

To have any effect, the physic engine needs to be activated with the EnableWorldPhysics().

参数

#Entity The first entity to test.
#Entity2 The second entity to test.

返回值

Return non-zero if the two entities are colliding.

已支持操作系统

所有

<- EntityBoundingBox() - Entity Index - EntityCustomParameter() ->