Forum Discussion
Rotating an object on click
Hi Tom
I apologise for the delay in replying to you, since you did so much to try to work it out! Appreciate your video which explains the issue exactly. The idea is to use these shapes to make tangrams, so it would be difficult if the slide kept re-setting.
I'm wondering if the problem can be solved by getting state 1 to go back when going to state 2, but hiding it so we cant see it going back? Or resetting the state somehow? Or using layers so that they are all different objects not different states (but i can see that geting messey with the drag and drop, and it requires that layers can "run" even when they are hidden.
Or, how about the triangle can rotate 4 times, and then when you click again it goes in reverse? Would that solve it?
I am also going to experiment with using motion path 1 px circle instead of rotate animation.
Related Content
- 2 years ago
- 12 months ago
- 6 months ago