| center | Centro de la caja. |
| halfExtend | La mitad del tamaño de la caja en cada dimensión. |
| orientation | Rotación de la caja. |
| 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.