| center | Center of the box. |
| halfExtend | Half the size of the box in each dimension. |
| orientation | Rotation of the box. |
| direction | The direction in which to sweep the box. |
| distance | The maximum length of the cast. |
| layerMask | A Layer mask that is used to selectively ignore colliders when casting a box. |
Creates a BoxcastCommand.