Namespace Jitter2.Collision
Classes
- DynamicTree
Tracks objects by their bounding boxes to find potential collisions and answer spatial queries.
- Island
Represents a collection of bodies connected directly or indirectly by contacts or constraints.
- MinkowskiDifference
Provides methods for computing points on the Minkowski difference of two convex shapes.
- NarrowPhase
Tests convex shapes for overlap, distance, ray hits, and swept collisions.
- SupportFeatureSampler
Finds the outermost feature of a shape in a given direction by sampling its support mapping.
- SupportPrimitives
Provides built-in primitive support-mapped query types and helper methods for constructing them.
- TriangleEdgeCollisionFilter
Reduces snagging on shared edges of TriangleShape meshes.
Structs
- CollisionManifold
Represents a contact manifold between two convex shapes.
- ConvexPolytope
EPA polytope with filtered exact visibility, orientation and degeneracy predicates on the supplied floating-point coordinates.
- 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. The cone is centered at its centroid: the base sits at Y = -height/4 and the apex at Y = 3*height/4.
- 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
An axis-aligned bounding box used by DynamicTree.
Interfaces
- IAngularSweepTestable
Supports sweep tests in which the query shape translates and rotates while this object stays fixed.
- IBroadPhaseFilter
Decides which pairs of objects should be checked for collisions.
- IDistanceTestable
Supports closest-point distance queries against a convex shape.
- IDynamicTreeProxy
Represents an entity that can be tracked by the DynamicTree for broadphase collision detection.
- INarrowPhaseFilter
Allows detected contacts to be modified or discarded before they affect the bodies.
- IRayCastable
Represents an entity that can be intersected by a ray.
- ISupportFeature
Extension of ISupportMappable for shapes that report their whole outermost feature in a given direction: a point, a segment or a convex polygon.
- ISupportMappable
Describes a convex shape by returning its furthest point in any given direction.
- ISweepTestable
Supports sweep tests against a moving convex shape.
- IUpdatableBoundingBox
Represents an entity whose bounding box can be recomputed.
Enums
- DynamicTree.Timings
Profiling buckets for DebugTimings, representing stages of Update(bool, float).
- NarrowPhase.SweepStatus
The outcome of a sweep over a specified time interval.
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.