Hello everyone! I am attempting to create a simple system to offset a camera’s relative location. To do this, I am using the player’s control rotation. My blueprints work great, except for one issue. When the axis resets (for example, when pitch goes from 360 to 0), my calculations are completely messed up. I can include blueprints if anyone needs to see an example of what I am talking about.
What is the correct way for me to do math like this on rotators?
Actually rotation goes from -180 to 180, not from 0 to 360; and yes, sometimes it causes math troubles, depending on what exaclty you want to calculate. It would be helpful if you posted some BP screenshots and explained what exactly you want to do.