Hello, I am working on a streaming animation application. In there I am creating the animation KeyframeTrack based on what I get from the stream, with that I create the clip and give it to the Mixer which create the Action. Because I cannot modify the tracks I have to create always a new track with the same times and values of the previous track plus some new values and times that I get from the stream. I noticed that if my times and values are a very big array, the process of creating the new track consumes more and more time (probably due to the conversion between Array and Float32Array that happens inside the KeyframeTrack). To avoid this, I decided to create multiple tracks instead of just one. However, the behaviour is strange when playing the animation.
Please take a look at the following example:
In line 94 create the AnimationClip with track1. Run it.
Then change track1 to track2. Run it.
Then add both [track1, track2], I expect this to be the combination between track1 and track2, but it seems not.
Any ideas on how to overcome this issue?