衝突したオブジェクトの情報を扱います。
Collision information is passed to Collider.OnCollisionEnter, Collider.OnCollisionStay and Collider.OnCollisionExit events. See Also: ContactPoint.
| collider | ヒットした Collider 情報を返します(読み取り専用) |
| contacts | The contact points generated by the physics engine. You should avoid using this as it produces memory garbage. Use GetContact or GetContacts instead. |
| gameObject | The GameObject whose collider you are colliding with. (Read Only). |
| impulse | 衝突を解消するために互いの接触に適用される合計のインパルス |
| relativeVelocity | 衝突した 2 つのオブジェクトの相対的な速度(読み取り専用) |
| rigidbody | ヒットした Rigidbody (読み取り専用)。ヒットしたオブジェクトに Rigidbody がアタッチされていない場合、null を返します。 |
| transform | ヒットした Transform 情報を返します。(読み取り専用) |