Свойство | Type | Description | |
---|---|---|---|
NULL_FEATURE | int |
Méthode | Description | |
---|---|---|
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 | |
Résultat | int |
public CollideCircles ( |
||
manifold | ||
circle1 | ||
xfA | ||
circle2 | ||
xfB | ||
Résultat | void |
public CollideEdgeAndCircle ( |
||
manifold | ||
edgeA | ||
xfA | ||
circleB | ||
xfB | ||
Résultat | void |
public CollideEdgeAndPolygon ( |
||
manifold | ||
edgeA | ||
xfA | ||
polygonB | ||
xfB | ||
Résultat | void |
public CollidePolygonAndCircle ( |
||
manifold | ||
polygon | ||
xfA | ||
circle | ||
xfB | ||
Résultat | void |
public CollidePolygons ( |
||
manifold | ||
polyA | ||
xfA | ||
polyB | ||
xfB | ||
Résultat | void |
public Collision ( IWorldPool argPool ) : System | ||
argPool | IWorldPool | |
Résultat | System |
public EdgeSeparation ( |
||
poly1 | /// | |
xf1 | /// | |
edge1 | int | /// |
poly2 | /// | |
xf2 | /// | |
Résultat | float |
public FindIncidentEdge ( ClipVertex c, |
||
c | ClipVertex | |
poly1 | ||
xf1 | ||
edge1 | int | |
poly2 | ||
xf2 | ||
Résultat | void |
public FindMaxSeparation ( EdgeResults results, |
||
results | EdgeResults | |
poly1 | ||
xf1 | ||
poly2 | ||
xf2 | ||
Résultat | void |
public static GetPointStates ( PointState state1, PointState state2, |
||
state1 | PointState | |
state2 | PointState | |
manifold1 | ||
manifold2 | ||
Résultat | void |
public TestOverlap ( |
||
shapeA | ||
indexA | int | |
shapeB | ||
indexB | int | |
xfA | ||
xfB | ||
Résultat | bool |