Hi, i want the pitch axis to be reset to looking straight down when someone clicks right mouse button,but first i need to set it to 0. i made this to test it but doesn’t work? As far as i can see there’s nothing wrong with my logic?
This will return the opposite of whatever the pitch value is as it is so the “Add controller pitch input” node should always set the pitch back to 0.
i.e.
pitch = 10
10 - (10*2) = -10 so therefore if the pitch was 10 then 10±10 = 0?
I made a blueprint which works for this
however it doesn’t work, when i plug it into the “Add Controller Pitch Input” node the rotation always ends up being -270 then -22 then -62 then -90 in that sequence? any idea why or of a alternative way of doing it?