struct
ContactManifoldRepresents a contact interface between two bodies.
Public variables
- glm::vec3 normal
- std::vector<ContactPointData> points
- Contact points of this manifold.
- uint32_t boxId1
- If the manifold is from a voxelShape we need to know which boxes.
- uint32_t boxId2
- are colliding
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.