# Custom Physics Wall Clipping Problem

**URL:** <https://forums.unrealengine.com/t/custom-physics-wall-clipping-problem/70447>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [August 1, 2016, 11:30pm UTC](https://forums.unrealengine.com/t/custom-physics-wall-clipping-problem/70447 "2016-08-01T23:30:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_51c3e6d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_51c3e6d1](https://forums.unrealengine.com/u/anonymous_user_51c3e6d1)\
**Post date:** [August 1, 2016, 11:30pm UTC](https://forums.unrealengine.com/t/custom-physics-wall-clipping-problem/70447/1 "2016-08-01T23:30:20Z")

</div>

Hopefully this is a general enough problem. I’ve got some simple custom physics to suit my needs, but the problem is my velocities will sometimes project myself into a wall. At that point I’m either stuck or experience undesired effects.

Is there a way to prevent the clipping? Some way to predict? Like detecting the collision WILL occur based on speed and then take action, so that I am not inside a wall on the next frame? I’m stumped. Thanks for helping a beginner! I know there’s someone more brilliant out there 😃
