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 that was tested against other objects

shB
CollisionShape* shB;

The object that was found colliding with other objects

type
Type type;

Type of the object collision

Meta