Hi, I’m having a weird problem with an imported model. When I began working on the project this certain model was all mangled up in the scene, so I tried to find out why. I made a new project, imported the fbx, placed it in the scene, increase the mesh scale factor and all looked ok. Then I tried to do the same thing in the main project. I can’t. Whenever I change the mesh scale factor and apply the settings, the scale factor jumps to it’s default value 0.1. I tried reimporting the fbx in the project, but no luck. Any ideeas? thanks
Hi,
You must be working with the CharacterCustomization project, or something that implements AssetPostprocessor. Check your scripts to see if you have a class that implements AssetPostprocessor (as the following class demonstrates) and comment out or modify the globalScale line :
class FBXPostprocessor : AssetPostprocessor
{
// This method is called just before importing an FBX.
void OnPreprocessModel()
{
ModelImporter mi = (ModelImporter)assetImporter;
mi.globalScale = 1;
…
Diablo I can not thank you enough. It works perfectly Thanks*10^5000