UnityEngine.Collision
class UnityEngine.Collision
Fields and Properties:
- UnityEngine.Vector3 relativeVelocity
- UnityEngine.Rigidbody rigidbody
- UnityEngine.ArticulationBody articulationBody
- UnityEngine.Component body
- UnityEngine.Collider collider
- UnityEngine.Transform transform
- UnityEngine.GameObject gameObject
- int contactCount
- UnityEngine.ContactPoint[] contacts
- UnityEngine.Vector3 impulse
- UnityEngine.Vector3 impactForceSum
- UnityEngine.Vector3 frictionForceSum
- UnityEngine.Component other
Constructors:
- UnityEngine.Collision.New()
Methods:
- UnityEngine.ContactPoint GetContact(int)
- int GetContacts(UnityEngine.ContactPoint[])
- int GetContacts(
System.Collections.Generic.List<UnityEngine.ContactPoint>
) - System.Collections.IEnumerator GetEnumerator()