I'm trying to access the names, start and end frames of a bunch of motion mixer clips using maxscript.
Our animators are using a custom bone rig and using motion mixer to bring in all the external animations into one file for export. What I want to do is have a script that will output the names and frame info of these into a text file to plug into the game.
I've been able to do this in the past when we used biped. If a biped object is using the motion mixer I can do this;
myMixer = bipObj.transform.controller.mixer
And from there pull out the animation clips.
But the bone objects where using now are using a standard position, rotation, scale transform controller. So I have no idea what's driving their animations or how to get any info out of it.
So has anyone had any experience doing anything like this? From all of my googling it seems like anything to do with maxscript and biped only ends in tears and frustration.
Replies
Cheers, I'll try that out when I get back to work.
Pheww!
Finally, I found some code of mixer for the sample, with this topic 10 years ago 🤣
Thank you so much @monster