ObjectCollisionEvent

Contains information about an object collision event.

Constructors

this
this(CollisionShape* shA, CollisionShape* shB, int contextID, Box overlap, Type type)

default CTOR

Members

Enums

Type
enum Type

Defines types of object collisions that can happen

Variables

contextID
int contextID;

The context of the collision (e.g. tester ID)

idA
int idA;

ID of object A

idB
int idB;

ID of object B

overlap
Box overlap;

Overlapping area of the collision

shA
CollisionShape* shA;

The object (A) that was tested against other objects

shB
CollisionShape* shB;

The object (B) that was found colliding with the source object

type
Type type;

Type of the object collision

Meta