struct
ContactManifoldRepresents a contact interface between two bodies.
Public variables
-
cubos::
core:: ecs:: Entity entity - Entity to which the normal is relative to.
- glm::vec3 normal
- std::vector<ContactPointData> points
- Contact points of this manifold.
Variable documentation
glm::vec3 cubos:: engine:: ContactManifold:: normal
A contact normal shared by all contacts in this manifold, expressed in the local space of the first entity.