How To Clamp The Camera Rotation

JisanDavis
Wed, 01 Oct 2025 21:23:49 +0000
Blueprint

How to block the camera to go beyond +90 degree or -90 degree but calculating based on where the body is facing?

I’m using the Game Animation Sample project and turned it into a ‘True First Person’ but it had a problem with my camera being snapped to the middle if I look at +90 degree or - 90 degree so I fixed it by changing some values (Idle and Moving values in the select node (I changed it to 360 for both)):

So now it don’t snap back to the middle but now when I look beyond +90 degree or -90 degree it just snaps back to the other side of the 90 degree, for example: If I’m facing a wall where there is a poster, if I look beyond 90 degree of my left it snaps me back to the 90 degree of right, and it’s not because of the camera it is because of the neck animation in that project.

So I tried to limit the view by adding this blueprint:

But realized it just brocks (±)90 degree from where I begin to play and not from where the body is facing.

So is there any way to make it block (±)90 degree from where the body is facing instead of from where I begin to play?

5 posts - 2 participants