|
group2 0.1.0
CSE 125 Group 2
|
One sub-contact in a multi-point manifold. More...
#include <ContactManifold.hpp>
Public Attributes | |
| glm::vec3 | worldPositionA {0.0f} |
| World-space hit point on body A. | |
| glm::vec3 | worldPositionB {0.0f} |
| World-space hit point on body B. | |
| glm::vec3 | localA {0.0f} |
| Body-A-local offset for warm-start matching. | |
| glm::vec3 | localB {0.0f} |
| Body-B-local offset. | |
| float | depth = 0.0f |
| Penetration depth (positive = overlapping). | |
| float | normalImpulse = 0.0f |
| Accumulated normal impulse, carried across frames. | |
| float | tangentImpulse [2] = {0.0f, 0.0f} |
| Two friction tangents. | |
| ContactFeatureId | featureId {} |
One sub-contact in a multi-point manifold.
| float physics::ContactPoint::depth = 0.0f |
Penetration depth (positive = overlapping).
| ContactFeatureId physics::ContactPoint::featureId {} |
| glm::vec3 physics::ContactPoint::localA {0.0f} |
Body-A-local offset for warm-start matching.
| glm::vec3 physics::ContactPoint::localB {0.0f} |
Body-B-local offset.
| float physics::ContactPoint::normalImpulse = 0.0f |
Accumulated normal impulse, carried across frames.
| float physics::ContactPoint::tangentImpulse[2] = {0.0f, 0.0f} |
Two friction tangents.
| glm::vec3 physics::ContactPoint::worldPositionA {0.0f} |
World-space hit point on body A.
| glm::vec3 physics::ContactPoint::worldPositionB {0.0f} |
World-space hit point on body B.