|
| static void | systems::depenetratePlanes (glm::vec3 &pos, glm::vec3 &vel, const glm::vec3 &halfExtents, std::span< const physics::Plane > planes) |
| | Push the entity out of any infinite planes it currently overlaps.
|
| static void | systems::depenetrateBox (glm::vec3 &pos, glm::vec3 &vel, const glm::vec3 &halfExtents, const physics::WorldAABB &box) |
| | Push the entity out of a static AABB it currently overlaps.
|
| static void | systems::depenetrateBrush (glm::vec3 &pos, glm::vec3 &vel, const glm::vec3 &halfExtents, const physics::WorldBrush &brush) |
| | Push the entity out of a convex brush it currently overlaps.
|
| static void | systems::depenetrateCylinder (glm::vec3 &pos, glm::vec3 &vel, const glm::vec3 &halfExtents, const physics::WorldCylinder &cyl) |
| | Push the entity out of a vertical cylinder it currently overlaps.
|
| static void | systems::depenetrateSphere (glm::vec3 &pos, glm::vec3 &vel, const glm::vec3 &halfExtents, const physics::WorldSphere &sph) |
| | Push the entity out of a world sphere it currently overlaps.
|
| static void | systems::depenetrateTriMesh (glm::vec3 &pos, glm::vec3 &vel, const glm::vec3 &halfExtents, const physics::WorldTriMesh &mesh) |
| | Push the entity out of a triangle mesh it currently overlaps.
|
| static bool | systems::overlapsAabb (const physics::WorldAABB &a, const physics::WorldAABB &b) |
| static void | systems::depenetrate (glm::vec3 &pos, glm::vec3 &vel, const glm::vec3 &halfExtents, const physics::WorldGeometry &world) |
| | Run all depenetration passes for legacy AABB bodies.
|
| void | systems::runCollision (Registry ®istry, float dt, const physics::WorldGeometry &world) |
| | Run one tick of swept-AABB collision for all physics entities.
|
Implementation of swept-AABB collision detection and response.