when animationgroups are loaded into the scene, for instance, anim1(idle),anim2(run),anim3(pose),anim4(kick)… there are animationGroups, , , … Now I like my character to pose first , then kick. The point here is I wanna to promise that he poses for a little while, then he kicks. so is is possible to have Async /promise functions can be used?
I have checked some babylon documents,basically there are two cases for promise/asyn: 1.while loading animationgroups,but just for loading you can use async for animationgroups; 2. while using an animation/animatables. but animation/animatables seems has no clear logic to my animationGroups.
it seems there is no direct method to impement Asyn/promise on animationGroups,
any idea ? it will be really appreciated.
after async-loading the model with animaton groups to my scene, in order to use asyn of animatables, I tried to see if it is possible to extract animatables from my animationGroup (for “pose”), the console shows there are terriblely 156 pieces of animatables! so it seems not possible to convert animationgroup into animatables.