EntityCollide()

Syntax

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

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

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

Parameters

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

Return value

Return non-zero if the two entities are colliding.

Supported OS

All

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