# Can't make border for camera

**URL:** <https://forums.unrealengine.com/t/cant-make-border-for-camera/1319326>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [October 1, 2023, 11:37pm UTC](https://forums.unrealengine.com/t/cant-make-border-for-camera/1319326 "2023-10-01T23:37:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArtyomTop1gg\_TT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArtyomTop1gg\_TT](https://forums.unrealengine.com/u/ArtyomTop1gg_TT)\
**Post date:** [October 1, 2023, 11:37pm UTC](https://forums.unrealengine.com/t/cant-make-border-for-camera/1319326/1 "2023-10-01T23:37:51Z")

</div>

Camera border keeps shifting by some distance and I don’t know how to fix it. How do i get it permanent?

here is blueprint:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/c/4/ac4e385beb13e61af0a3cc2ef7b99f5102f004c1.jpeg)

P.S. if you have more efficient or elegant way of making camera border i’d love to hear them

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 2, 2023, 9:43am UTC](https://forums.unrealengine.com/t/cant-make-border-for-camera/1319326/2 "2023-10-02T09:43:16Z")

</div>

> Camera border

Border? That would indicate you’re trying to constrain traversal. Your script seems to address rotation? Could you clarify? If you’re trying to clamp allowed rotation / viewing angles, the camera manager can do it out of the box:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/b/15bfc993973d7e873919a9948d03fc45839692f7.png)

---

<div class="post-metadata">

**Author:** ![ArtyomTop1gg\_TT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArtyomTop1gg\_TT](https://forums.unrealengine.com/u/ArtyomTop1gg_TT)\
**Post date:** [October 2, 2023, 11:08am UTC](https://forums.unrealengine.com/t/cant-make-border-for-camera/1319326/3 "2023-10-02T11:08:34Z")

</div>

Thank you! This is exactly what i need but i dont see this settings in FirstPersonCamera  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/e/14e98bf41593e68151d36d4418af8b1a13e4af9e.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [October 2, 2023, 11:57am UTC](https://forums.unrealengine.com/t/cant-make-border-for-camera/1319326/4 "2023-10-02T11:57:30Z")

</div>

It is not about the camera itself, it’s about the `Camera Manager`. It’s a separate blueprint you create yourself and have the player controller override the default one:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/8/e68ce27d689d8a2121aa126ebfc9576545f0f6f4.png)

* * *

Or, if you need just the basic functionality, you can use the default manager the engine creates automatically:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/2/5f21cf24afcebef5086666fe5cf48bb8ff2d9189.png)

* * *

> Camera border keeps shifting by some distance and I don’t know how to fix it. How do i get it permanent?

The post was super unclear so we have no clue what you’re making. Hard to advise better.

- are we making turrets / CCTV cameras that cannot rotate 360?
- are we dealing with an fps soldier that can run straight but can also simultaneously look to the right (like in VR or Arma games)?
- are making a Mechwarrior clone where the torso has some degrees of free rotation dictated by the feet?

Example use:

> [@¿How exactly works Player Camera Manager?](https://forums.unrealengine.com/t/how-exactly-works-player-camera-manager/459417/2):
>
> ¿How I enable it? You already have the default one. ¿How I edit it? You can access its basic functionality like so: ¿How I put it? You can override the existing default one by doing the following: right click in the Content Browser, select Blueprint Class and search for it (at the very bottom): assign the newly created Manager in the Player Controller [293798-annotation-2019-12-12-091258.png] …

* * *

You can absolutely clamp the rotation manually but the Camera Manager can be quite handy for this.

---

<div class="post-metadata">

**Author:** ![ArtyomTop1gg\_TT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArtyomTop1gg\_TT](https://forums.unrealengine.com/u/ArtyomTop1gg_TT)\
**Post date:** [October 2, 2023, 12:01pm UTC](https://forums.unrealengine.com/t/cant-make-border-for-camera/1319326/5 "2023-10-02T12:01:24Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 1, 2023, 12:02pm UTC](https://forums.unrealengine.com/t/cant-make-border-for-camera/1319326/6 "2023-11-01T12:02:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
