Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | TobiLa |
Hey,
I tried the new AnimationTree with the StateMachine.
I start the playback with this code:
var playBack = $AnimationTree.get("parameters/playback")
playBack.start("fromNode")
playBack.travel("toNode")
I want to execute code when all of the animations are finished. I could’t find a signal or something similar for this in the doc, any suggestions?
I guess you’d need to check the is_playing() function is true
davidoc | 2019-02-15 16:13
From what I tested it seems the is_playing() function is true from the call of the start() until end() is called. My animation is finished and it still returns true.
TobiLa | 2019-02-15 16:39