|
group2 0.1.0
CSE 125 Group 2
|
Single deepest contact from a capsule against a primitive or the world. More...
#include <SweptCollision.hpp>
Public Attributes | |
| bool | valid {false} |
| float | depth {0.0f} |
| glm::vec3 | normal {0.0f, 1.0f, 0.0f} |
| SurfaceType | surfaceType {SurfaceType::Concrete} |
Single deepest contact from a capsule against a primitive or the world.
For authored triangle meshes, depth is the capsule surface penetration depth from closest capsule-axis point to closest bounded triangle feature. For legacy plane / brush / primitive paths it may still be a projected primitive MTV. normal always points from geometry toward the capsule side selected by the query.
| float physics::DepenContact::depth {0.0f} |
| glm::vec3 physics::DepenContact::normal {0.0f, 1.0f, 0.0f} |
| SurfaceType physics::DepenContact::surfaceType {SurfaceType::Concrete} |
| bool physics::DepenContact::valid {false} |