Class Collision.EPCollider
- Namespace
- Alis.Core.Physic.Collision
- Assembly
- Alis.dll
The ep collider class
private static class Collision.EPColliderInheritance
Inherited Members
Methods
Collide(ref Manifold, EdgeShape, ref Transform, PolygonShape, ref Transform)
Collides the manifold
public static void Collide(ref Manifold manifold, EdgeShape edgeA, ref Transform xfA, PolygonShape polygonB, ref Transform xfB)Parameters
manifoldManifold-
The manifold
edgeAEdgeShape-
The edge
xfATransform-
The xf
polygonBPolygonShape-
The polygon
xfBTransform-
The xf
ComputeEdgeSeparation(ref TempPolygon, ref Vector2, ref Vector2, bool)
Computes the edge separation using the specified polygon b
private static EPAxis ComputeEdgeSeparation(ref Collision.EPCollider.TempPolygon polygonB, ref Vector2 normal, ref Vector2 v1, bool front)Parameters
polygonBCollision.EPCollider.TempPolygon-
The polygon
normalVector2-
The normal
v1Vector2-
The
frontbool-
The front
Returns
- EPAxis
-
The axis
ComputePolygonSeparation(ref TempPolygon, ref Vector2, ref Vector2, ref Vector2, ref Vector2, ref Vector2, float)
Computes the polygon separation using the specified polygon b
private static EPAxis ComputePolygonSeparation(ref Collision.EPCollider.TempPolygon polygonB, ref Vector2 normal, ref Vector2 v1, ref Vector2 v2, ref Vector2 lowerLimit, ref Vector2 upperLimit, float radius)Parameters
polygonBCollision.EPCollider.TempPolygon-
The polygon
normalVector2-
The normal
v1Vector2-
The
v2Vector2-
The
lowerLimitVector2-
The lower limit
upperLimitVector2-
The upper limit
radiusfloat-
The radius
Returns
- EPAxis
-
The axis