Monday, 2 April 2012

Buttons make the bottle go 'round

Today I staged an interrogation into how to make the bottle rotate at the click of a button.. Well, basically to play the animation and stop at a certain point (when the next label is lined up) and then play again to the next alignment when the button is clicked again.

Basically had to apply actions to stop the animation each time a label lined up by applying a stop function to certian frames; then added a go to and play fuction to the buttons and told them to play the next frame.

The result:



No comments:

Post a Comment