Holds information of Collisions between entites, and determines whether or not the entities are on the map. Used in CreateEntityOptions.onCollision. This is similar to OverlapData, however only triggers when a collision stops entities from moving through eachother. Does not trigger on tiles that stop entities

interface CollisionData {
    entityCollidables: EntityCollidable[];
    map: boolean;
}

Properties

entityCollidables: EntityCollidable[]

Array of Entities that have been collided with

map: boolean

Is the collision on the world map as defined by the world boundaries?