What is the best way to do a sequence of animations?
For instance The James Webb Ideally when either a key is pressed or detached a sequence starts.
Key pressed ->animation1 begins-> animation 1 ended so start animation2,.......
or use of a timer
At start timer =0;
when the key pressed timer starts timer = timer =1?
When the timer gets to 100 animation1 starts
when timer hits 150 animation2 starts,......
And I suppose that before the 2nd,3rd,..... animation start the one before must be ended.
I suppose also you could have keys assigned to the animation but then one must know animation1 must be done before animation2,.......
For instance The James Webb Ideally when either a key is pressed or detached a sequence starts.
Key pressed ->animation1 begins-> animation 1 ended so start animation2,.......
or use of a timer
At start timer =0;
when the key pressed timer starts timer = timer =1?
When the timer gets to 100 animation1 starts
when timer hits 150 animation2 starts,......
And I suppose that before the 2nd,3rd,..... animation start the one before must be ended.
I suppose also you could have keys assigned to the animation but then one must know animation1 must be done before animation2,.......