# Flying Camera Control with clamping

**URL:** <https://forums.unrealengine.com/t/flying-camera-control-with-clamping/2623018>\
**Category:** Blueprint\
**Tags:** playercontroller, flying, unreal-engine, controls, Blueprint, question\
**Created:** [July 29, 2025, 9:45pm UTC](https://forums.unrealengine.com/t/flying-camera-control-with-clamping/2623018 "2025-07-29T21:45:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaultheMercenary](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaultheMercenary](https://forums.unrealengine.com/u/SaultheMercenary)\
**Post date:** [July 29, 2025, 9:45pm UTC](https://forums.unrealengine.com/t/flying-camera-control-with-clamping/2623018/1 "2025-07-29T21:45:06Z")

</div>

You know how in flying games the camera doesn’t really let you do a full 180 or 360? Essentially, the camera gets clamped to a certain area for yaw and pitch and depending on how far you yaw/pitch, the player follows that movement continuously, so when you reach the max yaw or pitch the character continues to turn.

[This is an example of what I’m going for.](https://youtu.be/WbGgAz5HYvc?t=588)

Any advice on how to recreate this? When I clamp the yaw and pitch, the character stops yaw/pitching once I reach that max or min value, I’m playing around with trying to identify when a player have pitched or yawed to the max distance they can and then rotate the controller, but no luck so far.

---

<div class="post-metadata">

**Author:** ![HaydenPrismatic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haydenprismatic/32/1017219_2.png) [@HaydenPrismatic](https://forums.unrealengine.com/u/HaydenPrismatic)\
**Post date:** [July 29, 2025, 11:21pm UTC](https://forums.unrealengine.com/t/flying-camera-control-with-clamping/2623018/2 "2025-07-29T23:21:12Z")

</div>

Hi @SaultheMercenary,

You’ll probably want to do something similar to what I’ve described [here](https://forums.unrealengine.com/t/clamping-camera-pitch-rotation-of-a-floating-pawn/2594380/2).

Let me know if you have any questions on top of what was detailed in that thread.

Thanks,  
Hayden

---

<div class="post-metadata">

**Author:** ![SaultheMercenary](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaultheMercenary](https://forums.unrealengine.com/u/SaultheMercenary)\
**Post date:** [July 31, 2025, 8:34pm UTC](https://forums.unrealengine.com/t/flying-camera-control-with-clamping/2623018/3 "2025-07-31T20:34:01Z")

</div>

You’re the best! This worked for me, thanks!
