CollisionEnterEvent (Class)

Event fired when a collider/rigidbody has begun touching another rigidbody/collider.

Properties

Property Description Type
source The GameObject that was collided GameObject
other The GameObject that collided with ‘source’ GameObject
contactPoint The 3d world coordinates of the collision contact point Vector3
relativeVelocity The relative linear velocity of the two colliding objects Vector3

Remarks

Events of this type are managed by the On Collision Enter program.