메소드 | 설명 | |
---|---|---|
boxToBox ( |
||
boxToBoxCast ( |
checks the result of a box being moved by deltaMovement with second
|
|
circleToBox ( Circle circle, |
works for circles whos center is in the box as well as just overlapping with the center out of the box.
|
|
circleToCircle ( Circle first, Circle second, CollisionResult &result ) : bool | ||
circleToCircleCast ( Circle first, Circle second, |
||
circleToPolygon ( Circle circle, |
||
collide ( |
swept collision check
|
|
lineToCircle ( |
||
lineToLine ( |
||
lineToPoly ( |
||
pointToBox ( |
||
pointToCircle ( |
||
pointToPoly ( |
||
polygonToPolygon ( |
checks for a collision between two Polygons
|
메소드 | 설명 | |
---|---|---|
circleToPolygon2 ( Circle circle, |
||
closestPointOnLine ( |
||
findMinimumTranslationDistance ( int iNumAxes, |
||
getInterval ( |
||
getInterval ( |
||
intervalDistance ( float minA, float maxA, float minB, float maxB ) : float | ||
intervalIntersect ( |
||
minkowskiDifference ( |
||
polygonToPolygon ( |
||
polygonToPolygonCast ( |
||
polygonToPolygonOLD ( |
public static boxToBox ( |
||
first | ||
second | ||
result | CollisionResult | |
리턴 | bool |
public static boxToBoxCast ( |
||
first | First. | |
second | Second. | |
movement | ||
hit | RaycastHit | Hit. |
리턴 | bool |
public static circleToBox ( Circle circle, |
||
circle | Circle | First. |
box | Second. | |
result | CollisionResult | Result. |
리턴 | bool |
public static circleToCircle ( Circle first, Circle second, CollisionResult &result ) : bool | ||
first | Circle | |
second | Circle | |
result | CollisionResult | |
리턴 | bool |
public static circleToCircleCast ( Circle first, Circle second, |
||
first | Circle | |
second | Circle | |
deltaMovement | ||
hit | RaycastHit | |
리턴 | bool |
public static circleToPolygon ( Circle circle, |
||
circle | Circle | |
polygon | ||
result | CollisionResult | |
리턴 | bool |
public static collide ( |
||
first | First. | |
second | Second. | |
deltaMovement | Delta movement. | |
hit | RaycastHit | Hit. |
리턴 | bool |
public static lineToCircle ( |
||
start | ||
end | ||
s | Circle | |
hit | RaycastHit | |
리턴 | bool |
public static lineToLine ( |
||
a1 | ||
a2 | ||
b1 | ||
b2 | ||
intersection | ||
리턴 | bool |
public static lineToPoly ( |
||
start | ||
end | ||
polygon | ||
hit | RaycastHit | |
리턴 | bool |
public static pointToBox ( |
||
point | ||
box | ||
result | CollisionResult | |
리턴 | bool |
public static pointToCircle ( |
||
point | ||
circle | Circle | |
result | CollisionResult | |
리턴 | bool |
public static pointToPoly ( |
||
point | ||
poly | ||
result | CollisionResult | |
리턴 | bool |
public static polygonToPolygon ( |
||
first | Polygon a. | |
second | Polygon b. | |
result | CollisionResult | |
리턴 | bool |