What is the best way in PlayCanvas to trigger sets of animations based on timings?
For example after 10 seconds run animation scene 1
After 20 seconds stop animation scene 1 and start running 2
After 40 seconds stop animation scene 2 and start running 3
each scene would animate multiple entities
I was thinking of a script attached to the camera which sets a global variable which holds which scene is running
and changes the scene at timed intervals. And then in the update on the entities the animation would run depending on the contents of this variable.
also in ThreeJS there is a great tool called TweenJs which is great for tweening animations, has anyone used this with playcanvas?
Having the same background (create.js), I also wondered about this. @dave recommended Greensock’s TweenLite and/or TweenMax, and they really do a great job for me .