| point1 | カプセルの start にある球形の中心 |
| point2 | カプセルの end にある球形の中心 |
| radius | カプセルの半径 |
| direction | カプセル型の通過方向 |
| hitInfo | If true is returned, hitInfo will contain more information about where the collider was hit. (See Also: RaycastHit). |
| maxDistance | スイープの最大の長さ。 |
| layerMask | レイヤーマスク はレイキャストするときに選択的に衝突を無視するために使用します。 |
| queryTriggerInteraction | トリガーに設定されているものも検索対象にするか |
bool レイが任意のコライダーと交わる場合は true、それ以外は false
Casts a capsule against all colliders in this physics scene and returns detailed information on what was hit.
See Also: Physics.CapsuleCast.
| point1 | カプセルの start にある球形の中心 |
| point2 | カプセルの end にある球形の中心 |
| radius | カプセルの半径 |
| direction | カプセル型の通過方向 |
| results | 結果を保存するバッファ |
| maxDistance | スイープの最大の長さ。 |
| layerMask | レイヤーマスク はレイキャストするときに選択的に衝突を無視するために使用します。 |
| queryTriggerInteraction | トリガーに設定されているものも検索対象にするか |
int
results バッファに保存する衝突情報の数
Casts a capsule against all colliders in this physics scene and returns detailed information on what was hit.
See Also: Physics.CapsuleCastNonAlloc.