Libraries.Game.Collision.Narrowphase

33 classes

  • BoxTriangleCollider finds the contacts between a box and one triangle.
  • ContactClipper3D holds the polygon work that turns two touching shapes into a small set of contact points.
  • This class contains actions that lets you know if two objects have collided or not.
  • This class stores the values needed as a temporary storage for a direction that is pointing toward origin.
  • This class stores the result from a collision of two convex shapes.
  • This class solves for the distance between the two colliding objects.
  • This class stores the faces given in terms of vertices of the face of a polyhedron.
  • This class contains actions that will help you solve for the closest points between two objects and the distance between these closest points.
  • This class contains actions that will help solve how much one shape has penetrated into another shape.
  • This action finds the closest point on a object to the origin.
  • This class stores the result from the calculation in the class ConvexConvexSimplexSolver.
  • This class stores the values that will be used by the class ConvexConvexFace.
  • CylinderTriangleCollider finds the contacts between a cylinder and one triangle.
  • This class calculates the closest distance between two objects.
  • This class records the vertices of two shapes in collision through the use of the class DistanceProxy2D and also records the tilt and position of two shapes through the use of the class PhysicsPosition2D.
  • This class serves as the container that contains the closest points between shapes A and B on both shape A and shape B.
  • This class records all of the vertices of a shape, and with these vertices, this class can calculate the support vertex of a shape to be used by the DistanceInput2D class.
  • This action calculates the separation between shapes A and B depending on the type of collision that has happened between shapes A and B.
  • This class records a point (count = 1), a line (count = 2), or a triangle (count = 3), which are all simplexes.
  • This class records the vertices from shapes A and B that are invovled in the current simplex of the Minkowski difference of the shapes so that Distance2D class can just refer to this SimplexCache to find the vertices instead of having to extract these information from Simplex2D class.
  • This class records the support points between shapes A and B.
  • SphereTriangleCollider finds the contact between a sphere and one triangle.
  • This class estimates the time of impact between two 2D objects.
  • This class stores the variables that are necessary for the TimeOfImpact2D class to solve for the time of impact between two objects.
  • This class contains the information that you would receive after a time of impact analysis: if the solver has failed, if the objects are overlapping, if the objects are touching, if the objects have separated, or if the objects' relation to each other is unknown.
  • TriangleCollider3D is the parent of the colliders that test a shape against a single triangle, such as a sphere, box or cylinder against one triangle of a terrain.
  • TriangleGeometry3D holds one triangle in world space, along with the values that the triangle colliders need over and over: its edges, its normal, the plane it lies in, and the three planes that stand up along its edges.