Hey Guys

problem now fixed and in trunk. Thanx for the report!

btw, if you ever need to center a model in the scene once loaded in, heres a
little trick (works nicely for your teapot Zhil)

model.movePivot((model.maxX + model.minX)/2, (model.maxY + model.minY)/2,
(model.maxZ + model.minZ)/2);

this requires centerMeshes to be set to true in the initialising object for
the loader, so that all child meshes in a model are centered around their
geometry. This gives no visual difference, but is useful when using the
max/min calculations in this manner.

please let us know if the fix works for you!

atb

Rob



On Sat, Dec 13, 2008 at 9:49 AM, zhil <[email protected]> wrote:

>
> I have the same problem - described here
>
> http://groups.google.com/group/away3d-dev/browse_thread/thread/fe00f19211c14aef#




-- 
Rob Bateman
Flash Development & Consultancy

[email protected]
www.infiniteturtles.co.uk
www.away3d.com

Reply via email to