I want to have the user the ability to roll & Pitch a cube at 90-degree increments, no matter which way the cube is angled.
If the user:
Presses R the cube rolls (think of looking at a clock, the hands moving around it).
Presses F the cube Pitches/Flips (think of rolling a ball forward and backward to you).
I’ve tried doing this simply by controlling the X/Y/Z of the object in relative & world, but as soon as you Flip(X) and Roll(Y) once each at 90-degrees, the (X) now controls the Yaw.
I’ve tried putting Parents and Childs that each only control X, Y or Z and based on which walls I’m turning control one of those, but same issue.
I’m out of ideas, I need the X & Y to hold it’s direction (forward/back) (left/right) and rotate around those axis.
@ClockworkOcean
that worked amazingly! i’m trying to figure out what you did differently, does the ‘combine’ work differently then me just ‘adding’ 90?
you set your current state at the beginning and mine was the end, so not sure if that made a difference.
is there a simple way to not allow a second press till the rotation is over?