So I’m busy with the Rotating door tutorial (Unreal Engine C++ Developer: Learn C++ and Make Video Games - 105. Exposing Parameters To The Editor) and I have made a door that is bewitched! We are tasked to make it possible to edit the variable of how much the door should open in the editor instead of in the code. So when I set it to 0-179 it works as intended but 180+ the door just spins in circles like this: https://youtu.be/QjnLPpQU3iM (yes I missepelled yaw into Taw in my warning )
I think this is happening because the rotation goes from 0-179.9 then continues into -179.9(which is the same as 180.1) until it reaches 0 again. But what I do not know is how to fix this, can anyone explain to me if my theory is correct and if there is a way to fix this?