center | ボックスの中心 |
halfExtents | 各軸についてのボックスサイズの半分 |
orientation | ボックスの回転 |
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 | ボックスの中心 |
halfExtents | 各軸についてのボックスサイズの半分 |
orientation | ボックスの回転 |
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.