Table of Contents

Class Collision.EPCollider

Namespace
Alis.Core.Physic.Collision
Assembly
Alis.dll

The ep collider class

private static class Collision.EPCollider

Inheritance

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

manifold Manifold

The manifold

edgeA EdgeShape

The edge

xfA Transform

The xf

polygonB PolygonShape

The polygon

xfB Transform

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

polygonB Collision.EPCollider.TempPolygon

The polygon

normal Vector2

The normal

v1 Vector2

The

front bool

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

polygonB Collision.EPCollider.TempPolygon

The polygon

normal Vector2

The normal

v1 Vector2

The

v2 Vector2

The

lowerLimit Vector2

The lower limit

upperLimit Vector2

The upper limit

radius float

The radius

Returns

EPAxis

The axis