Skip to content

On Collision Exit 2D ​

Physics & collisionsDetailedOnCollisionExit2D

A 2D collider stops touching this one.

A 2D physics event: it happens when another Collider 2D stops touching this object's Collider 2D. What left it is a Collision2D (On Collision Enter 2D).

Official docs: OnCollisionExit2D (Unity)

Event values

Values this event has; action settings can use them as targets or values.

NameType
What left itCollision2D

On a card

WhenOn Collision Exit 2D⋯
What to do
+ Add what to do

In Udon

In UdonSharp, this is the method:

void OnCollisionExit2D(Collision2D other)

In the same category