How do I play random animations and stop them from interupting eachother?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Shepherd1602

I have 4 animations i want to get played, in full (between10-15 seconds each). I want them to get played at random everytime something is triggered, in this case every second footstep (only a tempoary trigger for testing). I have got it to play a random animaton however, everytime a new one starts, it freezes the previous one, is there a way to get them to play simultaniously?

How do i get animations to play at random and not interupt eachother?
Thank you.

:bust_in_silhouette: Reply From: Zylann

I think you need multiple AnimationPlayer nodes if you want two animations to run in parallel. Using an animation tree could provide more control and blending, but I don’t know how it works yet so you may want to check docs.
You should also be careful that two animations don’t try to animate the same thing as well.

:bust_in_silhouette: Reply From: rustyStriker

An animation player may play only 1 animation at a time, you can have multiple animationPlayers or simply check if it running(so you can have only 1 animation at a time)