Namespace Jitter2.Collision
Classes
- DynamicTree
Represents a dynamic AABB tree for broadphase collision detection.
- Island
Represents an island, which is a collection of bodies that are either directly or indirectly in contact with each other.
- MinkowskiDifference
Provides methods for computing points on the Minkowski difference of two convex shapes.
- NarrowPhase
Provides collision detection algorithms for convex shapes defined by support functions.
- SupportPrimitives
Provides built-in primitive support-mapped query types and helper methods for constructing them.
- TriangleEdgeCollisionFilter
Filters internal edge collisions for TriangleShape geometry. Adjusts collision normals at shared edges to match neighboring triangles, or discards the collision if the normal cannot be resolved. Requires triangle adjacency information; boundary edges (no neighbor) are left unmodified. Back-face collisions are discarded.
Structs
- CollisionManifold
Represents a contact manifold between two convex shapes, storing up to six contact points.
- ConvexPolytope
Represents a convex polytope builder used in the Expanding Polytope Algorithm (EPA) for computing penetration depth and contact information.
- DynamicTree.FindNearestResult
Represents the result of a distance query against the dynamic tree.
- DynamicTree.Node
Represents a node in the AABB tree.
- DynamicTree.RayCastResult
Represents the result of a ray cast against the dynamic tree.
- DynamicTree.SweepCastResult
Represents the result of a sweep against the dynamic tree.
- MinkowskiDifference.Vertex
Represents a vertex on the Minkowski difference of two shapes.
- SimplexSolver
Implements the Gilbert-Johnson-Keerthi (GJK) simplex solver for finding the closest point to the origin on a simplex (point, line segment, triangle, or tetrahedron).
- SimplexSolverAB
Implements the Gilbert-Johnson-Keerthi (GJK) simplex solver with support for retrieving the closest points on the original shapes (A and B spaces).
- SupportPrimitives.Box
Represents a box as a lightweight support-mapped query primitive.
- SupportPrimitives.Capsule
Represents a capsule as a lightweight support-mapped query primitive. The symmetry axis is the Y-axis.
- SupportPrimitives.Cone
Represents a cone as a lightweight support-mapped query primitive. The symmetry axis is the Y-axis.
- SupportPrimitives.Cylinder
Represents a cylinder as a lightweight support-mapped query primitive. The symmetry axis is the Y-axis.
- SupportPrimitives.Point
Represents a point as a lightweight support-mapped query primitive.
- SupportPrimitives.Sphere
Represents a sphere as a lightweight support-mapped query primitive.
- TreeBox
Represents an axis-aligned bounding box with SIMD-friendly memory layout, used for spatial partitioning in acceleration structures such as DynamicTree.
Interfaces
- IBroadPhaseFilter
Provides a hook into the broadphase collision detection pipeline.
- IDistanceTestable
Represents an entity that supports closest-point distance queries against a support-mapped query shape.
- IDynamicTreeProxy
Represents an entity that can be tracked by the DynamicTree for broadphase collision detection.
- INarrowPhaseFilter
Provides a hook into the narrowphase collision detection pipeline.
- IRayCastable
Represents an entity that can be intersected by a ray.
- ISupportMappable
Defines an interface for a generic convex shape characterized by its support function.
- ISweepTestable
Represents an entity that can be sweep-tested against a moving support-mapped query shape.
- IUpdatableBoundingBox
Represents an entity whose bounding box can be recomputed.
Enums
- DynamicTree.Timings
Profiling buckets for DebugTimings, representing stages of Update(bool, float).
Delegates
- DynamicTree.FindNearestFilterPost
Delegate for filtering distance query results after the exact shape distance test.
- DynamicTree.FindNearestFilterPre
Delegate for filtering distance query candidates before the exact shape distance test.
- DynamicTree.RayCastFilterPost
Delegate for filtering ray cast results after the shape intersection test.
- DynamicTree.RayCastFilterPre
Delegate for filtering ray cast candidates before the shape intersection test.
- DynamicTree.SweepCastFilterPost
Delegate for filtering sweep results after the exact shape sweep test.
- DynamicTree.SweepCastFilterPre
Delegate for filtering sweep candidates before the exact shape sweep test.