2D 物理システムのグローバル設定とヘルパー関数です。
| AllLayers | すべてのレイヤーを含むレイヤーマスク定数 |
| alwaysShowColliders | 選択されない場合でも、コライダーギズモが常に表示されるべきか。 |
| angularSleepTolerance | この許容値を上回る角速度がある場合、リジッドボディはスリープしません。 |
| autoSimulation | Sets whether the physics should be simulated automatically or not. |
| baumgarteScale | 重複の解決にかける速度を管理するスケール要素 |
| baumgarteTOIScale | TOI 重複の解決にかける速度を管理するスケール要素 |
| callbacksOnDisable | Use this to control whether or not the appropriate OnCollisionExit2D or OnTriggerExit2D callbacks should be called when a Collider2D is disabled. |
| changeStopsCallbacks | Whether or not to stop reporting collision callbacks immediately if any of the objects involved in the collision are deleted/moved. |
| colliderAABBColor | Sets the color used by the gizmos to show all Collider axis-aligned bounding boxes (AABBs). |
| colliderAsleepColor | すべてのスリープ状態のコライダーを表示するためにギズモが使用する色 (ボディがスリープ状態のときは、コライダーもスリープ状態)。 |
| colliderAwakeColor | すべての起動状態のコライダーを表示するためにギズモが使用する色 (ボディが起動状態のときは、コライダーも起動状態)。 |
| colliderContactColor | すべてのコライダーの接触を表示するためにギズモが使用する色。 |
| contactArrowScale | コライダーギズモによる接触の矢印のスケール |
| defaultContactOffset | 新しく生成されたコライダーのデフォルト接触オフセット |
| DefaultRaycastLayers | デフォルトで Raycast に関係するすべてのレイヤーを含むレイヤー定数 |
| gravity | 重力加速度 |
| IgnoreRaycastLayer | デフォルトのレイヤーマスク定数である Igonore Raycast |
| linearSleepTolerance | この許容値を上回る直線速度がある場合、リジッドボディはスリープしません。 |
| maxAngularCorrection | 制限を解決する際に使用される最大角位置修正量。行き過ぎ防止に役立ちます。 |
| maxLinearCorrection | 制限を解決する際に使用される最大直線位置修正量。行き過ぎ防止に役立ちます。 |
| maxRotationSpeed | 物理更新毎のリジッドボディの最大角速度。この値を増やし過ぎると数値的な問題の原因になります。 |
| maxTranslationSpeed | 物理更新毎のリジッドボディの最大直線速度。この値を増やし過ぎると数値的な問題の原因になります。 |
| positionIterations | オブジェクトの位置について考慮する場合の物理ソルバーの反復回数 |
| queriesHitTriggers | レイキャストでトリガーに設定しているコライダーを検知するか |
| queriesStartInColliders | Sets the raycasts or linecasts that start inside Colliders to detect or not detect those Colliders. |
| showColliderAABB | Should the collider gizmos show the AABBs for each collider? |
| showColliderContacts | コライダーギズモが各コライダーの現在の接触を表示するべきか。 |
| showColliderSleep | コライダーギズモが各コライダーのスリープ状態を表示するべきか。 |
| timeToSleep | リジッドボディがスリープするまでの秒単位での最低時間 |
| velocityIterations | オブジェクトの速度について考慮する場合の物理ソルバーの反復回数 |
| velocityThreshold | 相対直線速度を持つ衝突は、このしきい値を下回ると弾力がないものとして処理されます。 |
| BoxCast | シーン内のコライダーに向けてボックス型の判定を投げかけ、最初に接触したコライダーを返します。 |
| BoxCastAll | シーン内のコライダーに向けてボックス型の判定を投げかけ、接触したすべてのコライダーを返します。 |
| BoxCastNonAlloc | シーンにボックス形状を投げかけ、与えられた results 配列にコライダーを返します。 |
| CapsuleCast | Casts a capsule against colliders in the scene, returning the first collider to contact with it. |
| CapsuleCastAll | Casts a capsule against colliders in the scene, returning all colliders that contact with it. |
| CapsuleCastNonAlloc | Casts a capsule into the scene, returning colliders that contact with it into the provided results array. |
| CircleCast | シーン上のコライダーに円を投げかけ、接触した最初のコライダーを返します。 |
| CircleCastAll | シーン上のコライダーに円を投げかけ、接触したすべてのコライダーを返します。 |
| CircleCastNonAlloc | 円形をシーンに投げかけ、与えられた results 配列にコライダーを返します。 |
| Distance | Calculates the minimum distance between two colliders. |
| GetContacts | Retrieves all colliders in contact with the collider. |
| GetIgnoreCollision | 衝突判定システムが collider1 と collider2 間のすべての衝突/トリガーを無視するかを確認します。 |
| GetIgnoreLayerCollision | Checks whether collisions between the specified layers be ignored or not. |
| GetLayerCollisionMask | 指定したレイヤーに衝突する可能性があるレイヤーを示す衝突のレイヤーマスクを取得します。 |
| GetRayIntersection | シーン上のコライダーに対して 3D の Raycast をして、ヒットする最初のコライダーを返します |
| GetRayIntersectionAll | シーン上のコライダーに対して 3D の Raycast をして、ヒットするコライダーをすべて返します |
| GetRayIntersectionNonAlloc | シーン上のコライダーに対して 3D の Raycast をして、ヒットするすべてのコライダーをすべて返します |
| IgnoreCollision | collider1 と collider2 のペア間の衝突/トリガーを検知するか無視するようにします |
| IgnoreLayerCollision | 指定されたレイヤーのペア間の衝突を検知するか無視するか選択します |
| IsTouching | Checks whether the passed colliders are in contact or not. |
| IsTouchingLayers | collider が特定の layerMask に所属するコライダーに接触しているか確認します。 |
| Linecast | Casts a line segment against colliders in the Scene. |
| LinecastAll | シーン上のコライダーに対して線がヒットするか調べます |
| LinecastNonAlloc | シーン上のコライダーに対して線がヒットするか調べます |
| OverlapArea | Checks if a collider falls within a rectangular area. |
| OverlapAreaAll | 矩形の領域にあるコライダーの一覧を取得します |
| OverlapAreaNonAlloc | 特定領域にあるコライダーの一覧を取得します |
| OverlapBox | Checks if a collider falls within a box area. |
| OverlapBoxAll | ボックスの領域にあるすべてのコライダーのリストを取得します |
| OverlapBoxNonAlloc | ボックスの領域にあるすべてのコライダーのリストを取得します |
| OverlapCapsule | Checks if a collider falls within a capsule area. |
| OverlapCapsuleAll | Get a list of all colliders that fall within a capsule area. |
| OverlapCapsuleNonAlloc | Get a list of all colliders that fall within a capsule area. |
| OverlapCircle | Checks if a collider falls within a circular area. |
| OverlapCircleAll | 円の領域にあるコライダーのリストを取得します |
| OverlapCircleNonAlloc | 円の領域にあるコライダーのリストを取得します |
| OverlapCollider | Get a list of all colliders that overlap collider. |
| OverlapPoint | Checks if a collider overlaps a point in space. |
| OverlapPointAll | 空間上の点を含むすべてのコライダーのリストを返します |
| OverlapPointNonAlloc | 空間上の点を含むすべてのコライダーのリストを返します |
| Raycast | シーンのコライダーに対してレイを飛ばします |
| RaycastAll | シーンのコライダーに対してレイを飛ばし、接触したすべてのコライダーを返します |
| RaycastNonAlloc | シーンに対してレイを飛ばします |
| SetLayerCollisionMask | 指定したレイヤーに衝突する可能性があるレイヤーを示す衝突のレイヤーマスクを設定します。 |
| Simulate | Simulate physics in the scene. |