“getChildByName” only to use with “.dae”?

Software: Away3D 3.x

erroneous seth, Newbie
Posted: 14 October 2011 12:52 PM   Total Posts: 28

Hello,

I am trying to build a mini-golf game. Right now, I want to create the tracks.

What I try to do is create the track model in Blender and export it to AS3 (through Prefab3D) so as to load it in Away3D. The model loads fine.

However, in order for me to add physics I have to separate the model in pieces. I try to recreate the “Away3DCarDrive.as” of JigLibFlash where the model is separated in parts with names and the “getChildByName” method is used to retrieve each part.

But, the new Blender edition does not export Collada files with the “name” attribute and when I try to insert it myself into the “.dae” file a problem occurs during the parsing done by the Collada parser object of Away3D.

That is why I would like to ask if it is possible to use the “getChildByName” method with a loaded model in some other way in order to retrieve each part of the model and assign to them “physics” properties.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X