Lysa Nodes  0.0
Lysa Nodes — Scene Graph for the Lysa Engine
CollisionObject::Collision Struct Reference

Detailed Description

Contact data reported when two collision objects touch.

Public Attributes

float3 position
 
float3 normal
 
CollisionObject * object
 

Member Data Documentation

float3 normal

Normal for this collision, the direction along which to move the object out of collision along the shortest path.

CollisionObject* object

Colliding object

float3 position

World space position of the first contact point on the colliding object or, if the collision is detected by Character::getCollisions(), on the character