struct
CollidingWithRelation which represents a collision.
Public variables
-
cubos::
core:: ecs:: Entity entity - Entity to which the normal is relative to.
- float penetration
- Penetration depth of the collision.
- glm::vec3 position
- Position of contact on the surface of the entity.
- glm::vec3 normal
- Normal of contact on the surface of the entity.