Is there any way to assign global transform value ?

Software: Away3D 4.x

incubus, Newbie
Posted: 21 January 2014 11:45 PM   Total Posts: 21

Hi,

I just want to assign global transform value to my object.

- I have one collada model and I put one plain axes on it.(whic is holds position,rotation,scale values as Matrix3D ).

if(event.asset.name == "PlainAxes")
{
 
roadPieceHolder
.moveTo(transformObj.scenePosition.x,transformObj.scenePosition.transformObj.scenePosition.z);

// it's doesn't work correctly because ObjectContainer3D' sceneTransfrom value give me localTransform data. I want to global transfrom data.

   
roadPieceHolder.sceneTransform transformObj.transform;
}

Thank you so much
   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X