- Home /
ngui TweenRotation direction
I have a UI object with euler angles (0, 0, 0). I'm using TweenRotation to set its new rotation to (0, 0, -90) in the clockwise direction. It was working fine but after an NGUI update, it started rotating 270 degrees in the counterclockwise direction.
I've tried adding 0, 0, 360 to the object's euler value before calling the rotation function and setting the rotate value to 0, 0, 270 but that doesn't work because when reading the euler values after adding 360 to it, it still reads 0, 0, 0 instead of 0, 0, 360.
Please help!
Your answer

Follow this Question
Related Questions
Need to know euler angles of Vector3 direction relative to other Vector3 direction 1 Answer
Setting rotation angle of a bullet fired towards the mouse 1 Answer
LookAt on only 1 axis for 2D games? 1 Answer
Why is my build working on Unity but doesn't work on android? 1 Answer
Transform.TransformDirection with a custom EulerAngle (Vector3) 2 Answers