yes there is!

var model:ObjectContainer3D = Collada.parse(myCollada);
var rfWheel:Mesh = model.getChildByName("rfWheel") as Mesh;
var lfWheel:Mesh = model.getChildByName("lfWheel") as Mesh;
var rbWheel:Mesh = model.getChildByName("rbWheel") as Mesh;
var lbWheel:Mesh = model.getChildByName("lbWheel") as Mesh;

should work for you, using the correct names

if you are ever doubtful on what material and mesh names are contained
within a collada file, you can write the following at the top of your app:

away3d.core.utils.Debug.active = true;

this will print a load of parsing information into the trace window,
including the names of all materials and meshes found

hth!

Rob

On Tue, Jul 28, 2009 at 12:54 PM, SasMaster <[email protected]> wrote:

>
> I am building a vehicle in JigLibFlash and I need to access parts
> (wheels) of the car model which I imported in DAE  in order to rotate
> them in phys engine. Collada Class in pv3d gives a function
> getChildByName but in away3d there is no such a method. Any Help on
> this subject?
> Thanks




-- 
Rob Bateman
Flash Development & Consultancy

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

Reply via email to