Draw.BoxCast
Static Method in Draw
Declaration
public static void BoxCast(Vector3 center, Vector3 halfExtents, Vector3 direction, Quaternion orientation, float distance, Color color)
Description
Draws a wireframe box using the same parameters as Physics.BoxCast.
Parameters
center | The center of the box. |
halfExtents | Half the size of the box in each dimension. |
direction | The direction in which to cast the box. |
orientation | The rotation of the box. |
distance | The length of the cast. |
color | The color of the box. |