the collada importer doesn't support object animation, just skin animation with bones. so the mesh object will not be rotated themselves, they only have their vertex positions updated to reflect the new bone positions. Im confused tho - if you are rotating the bones with jointRotationX etc, surely you know the rotation already?
Rob On Wed, Jan 27, 2010 at 1:32 PM, Marnick <[email protected]> wrote: > I found the properties scenePosition and sceneTransform. This seems to > the thing I am looking for, except I can't get it working. > > trace("position: " + model.getChildByName("object- > node").scenePosition); // output: x:0 y:0 z:0 > trace("position: " + (model.getChildByName("object-node") as > Mesh).vertices[0].position); // output: x:11 y:100 z:56 > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
