Animations swapping over time

All the examples change biped animations by user input which is fine for the user controlled avatar characters. But how do you change the animations for the other characters ?for example if you have a gltf scene with a model with 10 gltf animations and you want the same character change every 5 seconds his current animation automatically by a random animation . is there an example or tutorial on how to do that ?

This example loads a glTF model, with more than 10 randomly playing animations.
Example : https://sbcode.net/threejs/random-puncher/
image

1 Like

yes this works when you export all the actions into separate glb files an give them the same name with a sequencenumber.
.In the example here the geometry and the different animations are separate files ; .Now you can combine the geometry with the animations in 1 glb with Character Animation Combiner