Method | Description | |
---|---|---|
AreShapesColliding ( |
Tests if a box and sphere are colliding.
|
public static AreShapesColliding ( |
||
box | Box to test. | |
sphere | Sphere to test. | |
boxTransform | Transform to apply to the box. | |
spherePosition | Vector3 | Transform to apply to the sphere. |
contact | ContactData | Contact point between the shapes, if any. |
return | bool |