How do I reset my camera rotation after setting Max and Min Yaw?

How do I reset my camera rotation after setting Max and Min Yaw?

139730-untitled.png

I want to reset it after I’m not aiming anymore so the False pin. But if I set it to 180,-180, 360, -360. I can’t fully rotate my character any longer…

edit: I’m also gonna set my max and min pitch to 90 and -90.

2 Likes

Get the values from the camera after aim true, store them in variables in your bp, set them to the override as you have now after that. Then on aim false get the variables your stored previously, and set the camera variables to that.

So reset the values by storing them in variables.

//gl hf

I know this is dated, but I ran into the same problem. My fix was setting the Min and Max Yaw to their engine default values.

Yaw Max should be: 359,988983
Yaw Min should be: 0

Doing this reverts back to the proper working, unlimited camera. I hope this helps someone.

10 Likes

This was interesting to me- When setting the min to 0 and the max to 360, you’d expect the full camera range to be restored, however it seems to interpret “360” as being the same as 0 so you don’t get any range. Setting it to a value just below 360, such as 359.999, or the engine default value, will restore the full range.

3 Likes

This DID indeed help someone! I was racking my brain for a good hour trying to figure this out since setting it to 0 & 360 or even 359.999 should work? But no, I guess there’s some math rule In there that keeps the camera from returning to normal beyond 359.99 Currently trying to put together a trolly blueprint that locks the view to that of the trolly, this helped a bunch! Cheers!

1 Like

Bro, i was literally trying to find a solution to this for the past 3 hours and solution is 359.988983!!! THAT WORKED! i can’t thank you more and thanks to you, i know hate unreal engine xd