Свойство | Тип | Описание | |
---|---|---|---|
NULL_FEATURE | int |
Метод | Описание | |
---|---|---|
ClipSegmentToLine ( ClipVertex vOut, ClipVertex vIn, |
Clipping for contact manifolds. Sutherland-Hodgman clipping.
|
|
CollideCircles ( |
Compute the collision manifold between two circles.
|
|
CollideEdgeAndCircle ( |
||
CollideEdgeAndPolygon ( |
||
CollidePolygonAndCircle ( |
Compute the collision manifold between a polygon and a circle.
|
|
CollidePolygons ( |
Compute the collision manifold between two polygons.
|
|
Collision ( IWorldPool argPool ) : System | ||
EdgeSeparation ( |
Find the separation between poly1 and poly2 for a given edge normal on poly1.
|
|
FindIncidentEdge ( ClipVertex c, |
||
FindMaxSeparation ( EdgeResults results, |
Find the max separation between poly1 and poly2 using edge normals from poly1.
|
|
GetPointStates ( PointState state1, PointState state2, |
Compute the point states given two manifolds. The states pertain to the transition from manifold1 to manifold2. So state1 is either persist or remove while state2 is either add or persist.
|
|
TestOverlap ( |
Determine if two generic shapes overlap.
|
public static ClipSegmentToLine ( ClipVertex vOut, ClipVertex vIn, |
||
vOut | ClipVertex | |
vIn | ClipVertex | |
normal | ||
offset | float | |
vertexIndexA | int | |
Результат | int |
public CollideCircles ( |
||
manifold | ||
circle1 | ||
xfA | ||
circle2 | ||
xfB | ||
Результат | void |
public CollideEdgeAndCircle ( |
||
manifold | ||
edgeA | ||
xfA | ||
circleB | ||
xfB | ||
Результат | void |
public CollideEdgeAndPolygon ( |
||
manifold | ||
edgeA | ||
xfA | ||
polygonB | ||
xfB | ||
Результат | void |
public CollidePolygonAndCircle ( |
||
manifold | ||
polygon | ||
xfA | ||
circle | ||
xfB | ||
Результат | void |
public CollidePolygons ( |
||
manifold | ||
polyA | ||
xfA | ||
polyB | ||
xfB | ||
Результат | void |
public Collision ( IWorldPool argPool ) : System | ||
argPool | IWorldPool | |
Результат | System |
public EdgeSeparation ( |
||
poly1 | /// | |
xf1 | /// | |
edge1 | int | /// |
poly2 | /// | |
xf2 | /// | |
Результат | float |
public FindIncidentEdge ( ClipVertex c, |
||
c | ClipVertex | |
poly1 | ||
xf1 | ||
edge1 | int | |
poly2 | ||
xf2 | ||
Результат | void |
public FindMaxSeparation ( EdgeResults results, |
||
results | EdgeResults | |
poly1 | ||
xf1 | ||
poly2 | ||
xf2 | ||
Результат | void |
public static GetPointStates ( PointState state1, PointState state2, |
||
state1 | PointState | |
state2 | PointState | |
manifold1 | ||
manifold2 | ||
Результат | void |
public TestOverlap ( |
||
shapeA | ||
indexA | int | |
shapeB | ||
indexB | int | |
xfA | ||
xfB | ||
Результат | bool |