modify model on fly

Software: Away3D 4.x

szycha, Newbie
Posted: 13 March 2012 09:11 PM   Total Posts: 4

Hi i’m newbe in Away3d.
Is there a simple way to modify vertex position of loaded model on fly?

   

karlperemil, Newbie
Posted: 21 March 2012 01:35 PM   Total Posts: 7   [ # 1 ]
for(var i:uint 0meshOrModel.geometry.subGeometries.length;i++){
   
var vertexData:Vector.<Number> = meshOrModel.geometry.subGeometries[i].vertexData;
    for(var 
t:uint 0vertexData.length;t++){
     vertexData[t] 
something
    
}
    subGeom
.updateVertexData(vertexData);
   
   

szycha, Newbie
Posted: 30 March 2012 02:00 PM   Total Posts: 4   [ # 2 ]

thx for replay

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X