How do you get the total roll value (to reset it from 'add input roll')?
I know we can edit the roll with Add Roll Input, but how do you get the total roll that is currently applied (so that it can be reset to its default setting) in blueprint?
asked Jul 28 '14 at 12:03 AM in Blueprint Scripting
I managed to fix this, so for anyone else who can't figure out how to reset roll (took me hours and the solution is so simple!).
Using your player, Get their controller, then get their control rotation. Break this rotation and combine it again to make a new rotation for pitch and yaw, but leave roll disconnected so that it zeros out. Make a new rotation and feed it into the controllers Set Control Rotation.
So simple, but it eluded me for hours.
Follow this question
Once you sign in you will be able to subscribe for any updates here