|
group2 0.1.0
CSE 125 Group 2
|
A contact manifold between exactly two entities. More...
#include <ContactManifold.hpp>
Public Attributes | |
| entt::entity | a {entt::null} |
| entt::entity | b {entt::null} |
| glm::vec3 | normal {0.0f, 1.0f, 0.0f} |
| Points from A → B (out of A's surface). | |
| int | pointCount = 0 |
| std::array< ContactPoint, k_maxContactPoints > | points {} |
| SurfaceType | surfaceA = SurfaceType::Concrete |
| SurfaceType | surfaceB = SurfaceType::Concrete |
| bool | aIsStatic = false |
| Static / kinematic flag. | |
| bool | bIsStatic = false |
A contact manifold between exactly two entities.
Contains 1–4 contact points sharing a single normal.
| entt::entity physics::ContactManifold::a {entt::null} |
| bool physics::ContactManifold::aIsStatic = false |
Static / kinematic flag.
When true, body A is treated as infinite mass during impulse application — typical for the world.
| entt::entity physics::ContactManifold::b {entt::null} |
| bool physics::ContactManifold::bIsStatic = false |
| glm::vec3 physics::ContactManifold::normal {0.0f, 1.0f, 0.0f} |
Points from A → B (out of A's surface).
| int physics::ContactManifold::pointCount = 0 |
| std::array<ContactPoint, k_maxContactPoints> physics::ContactManifold::points {} |
| SurfaceType physics::ContactManifold::surfaceA = SurfaceType::Concrete |
| SurfaceType physics::ContactManifold::surfaceB = SurfaceType::Concrete |