Tao.Ode SDK Documentation |
|
Ode.dBoxTouchesBox Method
Given boxes (p1,R1,side1) and (p2,R2,side2), return 1 if they intersect or 0 if not. p is the center of the box, R is the rotation matrix for the box, and side is a vector of x/y/z side lengths.
Parameters
-
_p1
- A dVector3 containing the center coordinates for box 1
-
R1
- A dMatrix3 containing the rotation matrix for box 1
-
side1
- A dVector3 containing the side lengths (x/y/z) for box 1
-
_p2
- A dVector3 containing the center coordinates for box 2
-
R2
- A dMatrix3 containing the rotation matrix for box 2
-
side2
- A dVector3 containing the side lengths (x/y/z) for box 2
Return Value
1 if the boxes intersect, 0 if they do not
See Also
Ode Class | Tao.Ode Namespace