1
Support / Re: Move object3D by touch&drag
« on: May 11, 2012, 11:36:19 am »
Sorry i cannt catch your means.
To get the camera actual axis in world space:
And when i get the y-axis, z-axis and multiply with xx,yy,zz,there are there SimpleVectors,how to translate the model?@@
To get the camera actual axis in world space:
Code: [Select]
SimpleVector cPosition = camera.getPosition();
SimpleVector cXA = camera.getXAxis();
SimpleVector cXAA = new SimpleVector(cPosition.x * cXA.x, cPosition.y * cXA.y, cPosition.z * cXA.z);
That's the camera's actual X axis?And when i get the y-axis, z-axis and multiply with xx,yy,zz,there are there SimpleVectors,how to translate the model?@@