Notifications
Clear all
[Closed] FBX export settings
1 Reply
Oct 29, 2013 2:16 pm
FBX export options are a complete pain to use as the documentation is not even complete enough to be deemed terrible.
Most importantly, You will need to clear the split buffer (or accumulator as they call it) before you specify a set of ‘takes’. Otherwise, you’ll keep all the specified takes from that session in max.
-- to clear the accumulator
FBXExporterSetParam "SplitAnimationIntoTakes" "-c"
Then, for each take you want to set, use the following:
FBXExporterSetParam "SplitAnimationIntoTakes" [TakeName] StartValue EndValue
Once done, you can use the normal route for export
exportFile [fileName] #noPrompt selectedOnly:[true] using:FBXEXP
I used this code recently to setup a series of FBX files ready for export to Unity. It would mean that the animation clips were already configured on import. Worked a treat.