Global physics properties and helper methods.
| AllLayers | 全てのレイヤーを選択するレイヤーマスク定数 |
| bounceThreshold | Two colliding objects with a relative velocity below this will not bounce (default 2). Must be positive. |
| DefaultRaycastLayers | デフォルトの Raycast レイヤーを選択するレイヤーマスク定数 |
| gravity | The gravity applied to all rigid bodies in the scene. |
| IgnoreRaycastLayer | 無視するレイキャストレイヤーを選択するレイヤーマスク定数 |
| maxAngularVelocity | The default maximum angular velocity permitted for any rigid bodies (default 7). Must be positive. |
| minPenetrationForPenalty | The minimum contact penetration value in order to apply a penalty force (default 0.05). Must be positive. |
| sleepAngularVelocity | The default angular velocity, below which objects start sleeping (default 0.14). Must be positive. |
| sleepVelocity | The default linear velocity, below which objects start going to sleep (default 0.15). Must be positive. |
| solverIterationCount | The default solver iteration count permitted for any rigid bodies (default 7). Must be positive. |
| CapsuleCast | カプセル型のレイを飛ばし、オブジェクトコライダーの付いたオブジェクトがヒットするかを調べます |
| CapsuleCastAll | Physics.CapsuleCastのようですが、この関数はヒットした全ての情報を取得します |
| CheckCapsule | 指定の位置にカプセルを作成し、end から end までの間にコライダーの付いたオブジェクトがヒットするか調べます。ヒットした場合、trueを返します。 |
| CheckSphere | 指定の位置に球体を作成し、end から end までの間にコライダーの付いたオブジェクトがヒットするか調べます。ヒットした場合、trueを返します。 |
| GetIgnoreLayerCollision | レイヤーの衝突判定が無効化されているかどうか |
| IgnoreCollision | 2つのコライダーの衝突判定を無効化します |
| IgnoreLayerCollision | 2つのレイヤーによるコライダーの衝突判定を無効化します |
| Linecast | 始点と終点を設定してそこに線を張り、コライダーがヒットした場合trueを返します |
| OverlapSphere | 球体の内部や触れたすべてのコライダーの配列を取得します |
| Raycast | シーン内のコライダーに対してレイを飛ばし、ヒットした情報を取得します |
| RaycastAll | シーンを通してレイを飛ばし、ヒットした全てを返します。順序が保証されないことに注意してください |
| SphereCast | 球体のレイを飛ばし、オブジェクトコライダーの付いたオブジェクトがヒットするかを調べ、ヒットしたら詳細情報を返します |
| SphereCastAll | Like Physics.SphereCast, but this function will return all hits the sphere sweep intersects. |