Gltf: Complex animation workflow?

I’m thinking subclips will probably be the way to go. Is there any documentation for that PR yet?

glTF supports multiple animations in a single file, so ideally you’d export from the DCC tool with clips already separated (each starting at t=0)

I can’t do that from Maya with the current game exporter limitations. The exporter doesn’t solo the track so exported clips (like in the image below) results in 3 clips, but they all have the garbled animations because they just blend on top of each other during export:

In order to get the clips that I need I’d have to manually export each soloed track like so:

But that results in several output files and I need all the animations in a single file. So at the moment it seems that my only option is to export all animations on a single track and then set them to t=0 in the code.

note that there are some Maya2glTF settings ( -animationClipName , -animationClipStartTime , -animationClipEndTime ) that you can use at least on the CLI to split animations.

Are these flags to put in? Where can I get a list of the flags and what they do? I can’t find anything in the readme other than the mention of them. Also the features described in the readme (like choosing the source) don’t seem to match up with what I’m seeing in Maya: