p1 | 胶囊体在 start 处的球体中心。 |
p2 | 胶囊体在 end 处的球体中心。 |
radius | 胶囊体的半径。 |
direction | The direction of the capsule cast |
distance | The maximum length of the sweep. |
layerMask | The LayerMask that selectively ignores Colliders when casting a capsule. |
Creates a CapsulecastCommand.