| center | 盒体的中心。 |
| halfExtents | 盒体各个维度大小的一半。 |
| orientation | 盒体的旋转。 |
| direction | 扫射盒体的方向。 |
| distance | 投射的最大长度。 |
| layerMask | 层遮罩,用于在投射盒体时有选择地忽略碰撞体。 |
创建 BoxcastCommand。
This command is run in the default physics scene.
| physicsScene | The physics scene to run the command in. |
| center | 盒体的中心。 |
| halfExtents | 盒体各个维度大小的一半。 |
| orientation | 盒体的旋转。 |
| direction | 扫射盒体的方向。 |
| distance | 投射的最大长度。 |
| layerMask | 层遮罩,用于在投射盒体时有选择地忽略碰撞体。 |
创建 BoxcastCommand。