I’m controlling a GLB animation manually using AnimationMixer.setTime() so that the animation progress is tied to scroll position.
mixer.setTime(clip.duration * progress);
Here, progress is a value between 0 and 1, (which allows the animation to play forward when scrolling down and reverse when scrolling up). This works well when I have a single animation.
Now I want to play a second animation (from an FBX file) after the first one, and when transitioning between the two animations, I want to crossfade smoothly.
The problem is that crossfading normally relies on AnimationAction.play() and time-based updates, but my first animation is being driven manually via setTime().