Method | Description | |
---|---|---|
collideCircles ( |
Compute the collision manifold between two circles.
|
|
collideEdgeAndCircle ( |
Compute contact points for edge versus circle. This accounts for edge connectivity.
|
|
collideEdgeAndPolygon ( |
Collides and edge and a polygon, taking into account edge adjacency.
|
|
collidePolygonAndCircle ( |
Compute the collision manifold between a polygon and a circle.
|
|
collidePolygons ( |
Compute the collision manifold between two polygons.
|
|
getPointStates ( FixedArray2 |
||
testOverlap ( |
Test overlap between the two shapes.
|
Method | Description | |
---|---|---|
clipSegmentToLine ( FixedArray2 |
Clipping for contact manifolds.
|
|
edgeSeparation ( |
Find the separation between poly1 and poly2 for a give edge normal on poly1.
|
|
findIncidentEdge ( FixedArray2 |
||
findMaxSeparation ( int &edgeIndex, |
Find the max separation between poly1 and poly2 using edge normals from poly1.
|
public static collideCircles ( |
||
manifold | ||
circleA | ||
xfA | ||
circleB | ||
xfB | ||
return | void |
public static collideEdgeAndCircle ( |
||
manifold | The manifold. | |
edgeA | The edge A. | |
transformA | The transform A. | |
circleB | The circle B. | |
transformB | The transform B. | |
return | void |
public static collideEdgeAndPolygon ( |
||
manifold | The manifold. | |
edgeA | The edge A. | |
xfA | The xf A. | |
polygonB | The polygon B. | |
xfB | The xf B. | |
return | void |
public static collidePolygonAndCircle ( |
||
manifold | The manifold. | |
polygonA | The polygon A. | |
xfA | The transform of A. | |
circleB | The circle B. | |
xfB | The transform of B. | |
return | void |
public static collidePolygons ( |
||
manifold | The manifold. | |
polyA | The poly A. | |
transformA | The transform A. | |
polyB | The poly B. | |
transformB | The transform B. | |
return | void |
public static getPointStates ( FixedArray2 |
||
state1 | FixedArray2 |
|
state2 | FixedArray2 |
|
manifold1 | ||
manifold2 | ||
return | void |
public static testOverlap ( |
||
shapeA | The first shape. | |
indexA | int | The index for the first shape. |
shapeB | The second shape. | |
indexB | int | The index for the second shape. |
xfA | The transform for the first shape. | |
xfB | The transform for the seconds shape. | |
return | bool |