MeshHelper.applyRotations and mesh pivotpoints

Software: Away3D 4.x

EFFalcon, Jr. Member
Posted: 22 December 2014 10:49 PM   Total Posts: 44

I’m looking at how i can apply rotations to a mesh at the vertices level, however the MeshHelper.applyRotations function doesn’t appear to take into consideration if the pivot point of the mesh has been changed.

So the applied rotation ends up moving the mesh to the wrong place.

Does anyone know how to get the applyRotation function to use the pivotpoint instead of the containers centre?

   

Avatar
Fabrice Closier, Administrator
Posted: 23 December 2014 12:22 PM   Total Posts: 1265   [ # 1 ]

Use then, geometry.applyTransformation(matrix3D); where you can set the translation as you please.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X