Method | Description | |
---|---|---|
AreBoxesOverlapping ( GameObject box1, GameObject box2 ) : bool | ||
AreBoxexOverlapping ( GameObject box1, Vector3 box2Size, Vector3 box2Position ) : bool | ||
AreBoxexOverlapping ( Vector3 box1Size, Vector3 box1Position, Vector3 box2Size, Vector3 box2Position ) : bool | ||
GetLineIntersection ( Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4 ) : Vector3 | ||
IsRayIntersectingBox ( Vector3 segment_pt0, Vector3 segment_pt1, Vector3 boxPosition, Vector3 boxSize ) : bool |
Method | Description | |
---|---|---|
OBBOverlap ( Vector3 a, Vector3 Pa, Vector3 A, Vector3 b, Vector3 Pb, Vector3 B ) : bool | ||
Update ( ) : void | ||
operator ( ) : Vector3 |
public static AreBoxesOverlapping ( GameObject box1, GameObject box2 ) : bool | ||
box1 | GameObject | |
box2 | GameObject | |
return | bool |
public static AreBoxexOverlapping ( GameObject box1, Vector3 box2Size, Vector3 box2Position ) : bool | ||
box1 | GameObject | |
box2Size | Vector3 | |
box2Position | Vector3 | |
return | bool |
public static AreBoxexOverlapping ( Vector3 box1Size, Vector3 box1Position, Vector3 box2Size, Vector3 box2Position ) : bool | ||
box1Size | Vector3 | |
box1Position | Vector3 | |
box2Size | Vector3 | |
box2Position | Vector3 | |
return | bool |
public static GetLineIntersection ( Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4 ) : Vector3 | ||
p1 | Vector3 | |
p2 | Vector3 | |
p3 | Vector3 | |
p4 | Vector3 | |
return | Vector3 |
public static IsRayIntersectingBox ( Vector3 segment_pt0, Vector3 segment_pt1, Vector3 boxPosition, Vector3 boxSize ) : bool | ||
segment_pt0 | Vector3 | |
segment_pt1 | Vector3 | |
boxPosition | Vector3 | |
boxSize | Vector3 | |
return | bool |