Summary

Listen to all collision events that happen during a physics step.

Methods

OnCollisionHit Called when a collider/rigidbody hits another collider, including repeated hits on the same shape while they are already touching.
OnCollisionStart Called when a collider/rigidbody starts touching another collider.
OnCollisionStop Called when a collider/rigidbody stops touching another collider.
OnCollisionUpdate Called once per physics step for every collider being touched.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.