-
flipping positive for negative from rotation controller
Hey guys,
I have a null with the y position being affected by the rotation. when you rotate the null into the negative, the y position moves down… very simple:
value – transform.rotation*5
what i need is something in there so that when the rotation is positive, the expression changes to:
value + transform.rotation*5
To try and explain further – i want the y position to go down the same amount when the angle of the rotation is at +15 or -15, 0 degrees being the highest point.
Is that doable??