Strange flickering when rolling character

Hey guys, I’ve been working on a system for a couple hours now that essentially just rolls the camera when the player strafes (or is otherwise moved to the left). While it seems to work consistently for the most part, I seem to get 1-frame “flickers” where the camera is angled the wrong way. Any idea what might be going on?


Character blueprint: Roll (bugged) > | PasteBin For Unreal Engine 4

That seems like your rotation is fighting itself when equalizing values or changing directions, as if it’s trying to also roll the camera or the actor its attached to. Maybe try printing to screen what your camera rotation values are and your actor values and see where the trouble angles are. One or more of your control inputs is making the Roll+Pitch create this issue.