Collision
API reference for Collision.
Properties
| Property | Type | Access |
|---|---|---|
| articulationBody | UnityEngineArticulationBody | get |
| body | UnityEngineComponent | get |
| collider | Collider | get |
| contactCount | int | get |
| contacts | UnityEngineContactPoint[] | get |
| gameObject | GameObject | get |
| impulse | Vector3 | get |
| relativeVelocity | Vector3 | get |
| rigidbody | Rigidbody | get |
| transform | Transform | get |
Methods
Equals
Equals(obj: object) -> boolGetContact
GetContact(index: int) -> UnityEngineContactPointGetContacts
GetContacts(contacts: SystemCollectionsGenericList`1[[UnityEngineContactPoint, UnityEnginePhysicsModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> intGetContacts(contacts: UnityEngineContactPoint[]) -> intGetHashCode
GetHashCode() -> intGetType
GetType() -> SystemTypenew
static new() -> CollisionToString
ToString() -> string