CORGI
An open source project by FPL.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
CollisionData Struct Reference

Data describing which Entities were involed in a collision and where. More...

#include <physics.h>

Detailed Description

Data describing which Entities were involed in a collision and where.

Public Attributes

corgi::EntityRef this_entity
 The first Entity involved in the collision.
 
mathfu::vec3 this_position
 The position of the first Entity involved in the collision.
 
std::string this_tag
 A std::string tag to identify the first Entity involved in the collision.
 
corgi::EntityRef other_entity
 The second Entity involved in the collision.
 
mathfu::vec3 other_position
 The position of the second Entity involved in the collision.
 
std::string other_tag
 A std::string tag to identify the second Entity involved in the collision.
 

The documentation for this struct was generated from the following file: