Lysa  0.0
Lysa 3D Engine
CollisionObjectEvent Struct Reference

Static Public Attributes

static constexpr auto START {"OBJECT_COLLISION_STARTS"}
 
static constexpr auto PERSISTS {"OBJECT_COLLISION_PERSISTS"}
 

Member Data Documentation

constexpr auto PERSISTS {"OBJECT_COLLISION_PERSISTS"}
staticconstexpr

Event fire whenever a contact is detected that was also detected last update and reports the first contact point in a CollisionObject::Collision<br> Never called for characters since on_collision_added is called during the whole contact.

constexpr auto START {"OBJECT_COLLISION_STARTS"}
staticconstexpr

Event fired whenever a new contact point is detected and reports the first contact point in a CollisionObject::Collision<br> For characters, called whenever the character collides with a body.