How Can I Stop CapsuleComponent Bouncing Off And Going Through Walls?

Hi Guys,

Because of heavy usage of animation and the need to manage it, I move my 2D Paper Character by adding offset to it, problem is that when I encounter a wall it’ll start bouncing against it and if I move really fast it can even go through the blocking volume.

To solve this I have put in place some code (nodes) to halt the input based on location (i.e. if character overlaps the blocking volume from the left than stop the rightward input and vice versa), but I’d really like to know if I can just have the collision working properly.

I solved the issue by adjusting my script to use the “Add Movement Input” Node and take advantage of the Character Movement Component. It turned out to be the best solution.