# Camera Restraints only work when moving slowly?

**URL:** <https://forums.unrealengine.com/t/camera-restraints-only-work-when-moving-slowly/381493>\
**Category:** Cinematics & Media\
**Tags:** block, unreal-engine, top-down, Blueprint, question\
**Created:** [January 10, 2017, 11:38pm UTC](https://forums.unrealengine.com/t/camera-restraints-only-work-when-moving-slowly/381493 "2017-01-10T23:38:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chef\_Seth](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Chef\_Seth](https://forums.unrealengine.com/u/Chef_Seth)\
**Post date:** [January 10, 2017, 11:38pm UTC](https://forums.unrealengine.com/t/camera-restraints-only-work-when-moving-slowly/381493/1 "2017-01-10T23:38:57Z")

</div>

I have a top down game I’m working on and I want to restrict the camera from moving beyond certain bounds. This works, unless I walk straight at these bounds quickly, then the camera ignores them and follows the player. I have a gif of this in effect and I’ll link some screenshots of my setup. As far as I can tell I’m not turning off the restrictions when moving, it seems to be some problem with how I set things up but I have no idea how else I’d restrict the camera.

You can see here walking straight to the bounds lets me walk right past it, then when I stop the camera snaps up to the bounds. I then walk up back to th e bounds to show again the camera works fine now.

[Screen capture - cd827b9d68aabcd66c3975528a24ed28 - Gyazo](https://gyazo.com/cd827b9d68aabcd66c3975528a24ed28)

This screenshot is the basics of my restraints. I have variables keeping track of all four bounds (they change based on where I am in the level) I check if the player is close to one and then I start using the bounds instead of following the player completely. I use Vinterp to set the world location of the camera smoothly (Although I don’t think this actually affects anything since I’m using a camera boom and my interp speed is really high)

> **[Gyazo](https://gyazo.com/9ee26726b8c111d9c3f7308630a07e0c)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

I have a camera attached to a spring arm with these lag settings

> **[Gyazo](https://gyazo.com/7eee083a664c66ed861b0ebae75bd9fa)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

> **[Gyazo](https://gyazo.com/28605406536602335907fea4dbee6fc2)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

Hope somebody can help!
