Constand Collision Detection

How do you make a continuous collision detection? in other words, make something trigger (e.g. a particle effect), as long as a collision is happening (e.g. snowboard colliding with snow ground)?

Hi,

In that case, you could use the OnTriggerStay2D method. The method for non-trigger colliders is called OnCollisionStay2D.


See also:

That’s exactly what I was looking for!
Thanks a lot!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms