LERPing Rigidbody2D still passing through collider
So I have a 2D sprite with a rigidbody2D and a boxcollider2D. When it bumps into other edgecolliders, it stops as expected.
However, I have a 'dodge' mechanic that has the sprite LERP in the direction it is already moving. For some reason, the LERP ignores colliders and jumps right into walls, then the sprite gets stuck until it dodges back out of the wall.
I'm wondering if it could be the speed, because dodge is faster than run, but Dodge is in FixedUpdate and I'm pretty sure that should have helped, right?
What could be causing this? Thanks!
Your answer
Follow this Question
Related Questions
Sprite do not collide with another sprite (Even with collider and Rigidbody) [2D] 1 Answer
Sprite 2d passes through the ground 0 Answers
Unable to stop animation upon collision (2d, animation, rigidbody) 0 Answers
No overload for method. (Question) 0 Answers
How to stop game object movement instantly after collision is detected ? 1 Answer