Expand description
Triangle mesh collision for character controllers.
This crate is deliberately 3D-only and uses ga3::Vector<f32> directly:
triangle meshes have no meaningful N-dimensional generalization, and the
ground semantics (walkable slopes, ground height along Y) are inherently
three-dimensional gameplay concepts.
Structsยง
- Aabb
- An axis-aligned bounding box in 3D space.
- Collision
Result - The combined result of resolving a capsule against a
CollisionWorld. - Collision
World - A set of triangle meshes behind a bounding volume hierarchy.
- Triangle
Hit - The result of resolving a capsule against a single mesh.
- Triangle
Mesh - A static triangle mesh prepared for capsule collision and raycasts.