I’m having some issues with animations in Unity, I’m exporting from 3ds Max, in the preview in Unity they work fine, but in game the mesh will oddly scale into gigantic sizes.
The files I’m using are exports from our Unity build, which I imported into Max, animated, then exported back. So I’m thinking it’s probably due to them being imported with incorrect scale settings (in the fbx), so I’m trying to locate the original source files.
Anyone know what’s going on here?
It sounds like the scale of the .FBX is set to the correct value when you place the character and is probably set to some float like .1 or .01. But if you preform any scale operations on the fbx at run time like fbx.transform.scale = Vector3(x,x,x) and any of those x’s are set to int’s, it will balloon up to huge proportions.
Example: FBX is at .1 and you scale the object to Vector3(1,1,1), the object will effectively be 10x its original size. Try increasing size with math. like new size is original size * 1.1.
Hope that helps.