Constraint of Rotations?
Posted: Mon Mar 08, 2010 10:07 pm
I want to create a puzzle with several square images and:
-Constraint image rotation (via mouseups) to 90, 180, 270 then get back to 0 (4 movements)
-get the number according to the rotation grade (is the picture at 180º?) and send that value to a variable so I can compare it with other pictures
-if the values I want are true then execute (an animation, etc..)
I already got the rotations to work but I can't find in the documentation how I can constraint them until it gets to 270º
any help?
(attached drawing with concept)
thanks!
Ben
-Constraint image rotation (via mouseups) to 90, 180, 270 then get back to 0 (4 movements)
-get the number according to the rotation grade (is the picture at 180º?) and send that value to a variable so I can compare it with other pictures
-if the values I want are true then execute (an animation, etc..)
I already got the rotations to work but I can't find in the documentation how I can constraint them until it gets to 270º
any help?
(attached drawing with concept)
thanks!
Ben