Top down dash/dodge

I made a game and it’s a simple 2d top down game and I wanted to make a dash type ability that would allow me to go through enemies without taking damage and it is fast you know like a dash but idk how to do it cuz the way I take damage is on collision enter so can someone give me a script or something that would be awesome

This thread gives a good answer: 2D top view game - Dash through enemy with a dynamic rigidbody

1 Like