Use bounds property On Thu, Jun 9, 2011 at 8:52 PM, Choons <[email protected]> wrote:
> Hi - I'm a little confused by the scale system and how that translates > to size of an object in axis coordinates. I am importing an airplane > model that is pretty small so I scale it up before adding it to an > ObjectContainer3D. If I trace out minZ and maxZ to get the length of > the mesh and do the same for the ObjectContainer3D I always get the > same values no matter how I scale the mesh. I can understand where > scaling the mesh seems to scale its local axis system as well, but I'd > expect that adding that scaled mesh to the container would change the > container size accordingly. For instance, if I import a mesh that is > 15 units long in the Z direction and scale it up 10 times, then add it > to an ObjectContainer3D I'd expect to find that the container is 150 > units long. It doesn't appear to work that way. So how do you do > scaling that actually changes its size in terms of minZ and maxZ? -- Michael Ivanov ,Programmer Neurotech Solutions Ltd. Flex|Air |3D|Unity| www.neurotechresearch.com http://blog.alladvanced.net Tel:054-4962254 [email protected] [email protected]
