i want to sequence the animationGroups in the sequence below, how to do it
0.3600,animationGroup1
0.5200,animationGroup2
2.0400,animationGroup3
3.2400,animationGroup4
6.6400,animationGroup5
i want to sequence the animationGroups in the sequence below, how to do it
0.3600,animationGroup1
0.5200,animationGroup2
2.0400,animationGroup3
3.2400,animationGroup4
6.6400,animationGroup5
Hey buddy, can you be more explicit?
Please provide a sample in the PG?
let me explain
in this gltf model we have few animation groups. i want to create animation which run the animation groups at sequence which is below.
timestamp,animation
0.0400,animation2
3.7200,animation1
7.3200,weight_shift
8.1600,talk_right_hand_1gesture4
8.8800,talk_left_hand_1gesture5
12.4800,talk_left_hand_1gesture3
13.0000,talk_left_hand_2gesture1
is it possiable
Depending on your setup you might be able to get the current ‘timestamp’ using a snippet like ‘scene.animationGroups[index].animatables[0].masterFrame’. Then you just keep track of the total time passed since the beginning and switch the animation groups on or off.