In my c++ code I have changed the max pitch up and down to 115 degrees and -115 degrees because I don’t like the 90 degree lock. Well it works, but I can’t figure out how to measure it because the measurement is always returning values under 90 when I measure the pitch from the camera. Like when it goes to 115 it will in the game and in the camera only go up to 90 degrees and fall back down as it approaches 115.
I need to find the measurement that will return the range past 90 degrees, because once 90 is breached I need to flip the control input left and right to keep it going in the right direction.
What component or node can I use to get the real pitch?
Pitch by definition goes from -90 to 90 degrees, so it’s a bit tricky to work that way. Have you tried Quaternions? What exactly are you trying to achieve?
In the c++ code I changed max and min pitch to 115 and -115. It works, but I haven’t found a way to measure it in blueprint yet. Like I said above once the pitch goes past 90 degrees, the input becomes backward for intuitive reasons, but obviously its not what I want so I set up a script to flip the yaw input as it goes past the 90 degree point. Problem is I can’t find a way to measure it. I would think somehow it has to be measured from the same place I changed the max and min pitch in the c++ code. How can I get the measurement from there, to blueprint where my yaw input flipper thingy is.
Could you post the C++ code that you changed, and a screenshot of the blueprint?