Cannot access the method updateVertexData in AWAY3D 4.1 alpha

Software: Away3D 4.x

polig, Newbie
Posted: 19 November 2012 07:31 AM   Total Posts: 18

Hello , developer team.

Is it impossible to modify vertexData of SubGeometries in Geometry class ?
In version 4.0, updateVertexData ( SubGeometries in Geometry ) could use.
but in version 4.1 alpha, subGeometry changed to ISubGeometry,
so It became to not be able to access the method.

I expressed movement of a cloth by modifying the figure,  according to AwayPhysics.
like following code:

var vx:Vector.<Number>= clothMesh.geometry.subGeometries[0].vertexData;

vx[ 0 ] 100//change vx position like this

clothMesh.geometry.subGeometries[0].updateVertexDatavx ); 

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X