tyFlow Forum
Actor start a new animation right after another one is finished - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Actor start a new animation right after another one is finished (/thread-4291.html)



Actor start a new animation right after another one is finished - gglesaumon - 06-10-2024

Hello,
I am kind of stuck on a setup with tyactor
I have a character with 2 loop (walk, stop walking)
I would like the actor do the walking loop 5 times then at the last frame of the last walking loop it is send to another event andĀ starts the stopping animation.
Any tutorialĀ or easy setup to do that available?

Thank you


RE: Actor start a new animation right after another one is finished - tyFlow - 06-11-2024

You can use a Property Test operator to test how far along an actor animation is, and switch after it reaches a certain frame. So if you have a 100 frame animation and want it to loop 5 times, you'd use a Property Test to send the particle to the next event when the animation frame value is >= 500 for a particular particle.


RE: Actor start a new animation right after another one is finished - gglesaumon - 06-11-2024

(06-11-2024, 05:53 PM)tyFlow Wrote: You can use a Property Test operator to test how far along an actor animation is, and switch after it reaches a certain frame. So if you have a 100 frame animation and want it to loop 5 times, you'd use a Property Test to send the particle to the next event when the animation frame value is >= 500 for a particular particle.

Great !! thank you so much for the informations. It works Smile