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

**URL:** <https://forums.unrealengine.com/t/how-can-i-stop-capsulecomponent-bouncing-off-and-going-through-walls/377453>\
**Category:** World Creation\
**Tags:** capsule, blocking-volume, unreal-engine, Collision, question\
**Created:** [November 26, 2016, 5:23am UTC](https://forums.unrealengine.com/t/how-can-i-stop-capsulecomponent-bouncing-off-and-going-through-walls/377453 "2016-11-26T05:23:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EminorReal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EminorReal](https://forums.unrealengine.com/u/EminorReal)\
**Post date:** [November 26, 2016, 5:23am UTC](https://forums.unrealengine.com/t/how-can-i-stop-capsulecomponent-bouncing-off-and-going-through-walls/377453/1 "2016-11-26T05:23:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![EminorReal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EminorReal](https://forums.unrealengine.com/u/EminorReal)\
**Post date:** [December 1, 2016, 2:29am UTC](https://forums.unrealengine.com/t/how-can-i-stop-capsulecomponent-bouncing-off-and-going-through-walls/377453/2 "2016-12-01T02:29:28Z")

</div>

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.
