center | Center of the box. |
halfExtents | 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.
This command is run in the default physics scene.
physicsScene | The physics scene to run the command in. |
center | Center of the box. |
halfExtents | 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.