Adding additional import options for fbx files...

How do I provide the user with additional options when loading fbx files (for example to extract root motion from animation, or move the animation to the origin)? In a perfect world, I would either be able to extend ModelImporter and provide it with the options, or be able to put up a modal dialog in a subclass of AssetPostprocessor. Unfortunately, I am not seeing an easy way to allow the user to choose what they want.

Some of the things you could do is have the AssetPostProcessor read information from the actual fbx. (you could use the userdata information in your modelling app to embed this information in), or you cna have the assetpostprocessor get the "what should I do exactly" informatino from somewhere else, like a textfile sitting next to the fbx. There's currently no way to provide a modal dialog to the user, or to extend the settings of the model importer.

I have personally used the userdata (there's a hook like OnPostProcessGameObjectWithUserData or something along those lines) with great success in the past. based on the info I usually attached monobehaviours in the assetpostprocessor that exposed the settings again. (I used it for stuff like "a walkcycle should move the character forward 2.45 meters")