feanor91

26-07-2008 13:21:24

Hello

I've made a mesh of axes X, Y and Z and I wnt to show object axes of object taht I select in my interface. So by using setposition aon my axes mesh, I can put my axe ine center of my object but how can I do to aligne X Y ad Z of my mesh axes on x,y and z of my object selected? I play with orientation, but I obtain strange result, orientatio, I don't understand use of quaternion what is the w parameter for (I have difficulties with math in english...)

So the result is that I dont dind how to align my axes.

I've made a mesh of axes X, Y and Z and I wnt to show object axes of object taht I select in my interface. So by using setposition aon my axes mesh, I can put my axe ine center of my object but how can I do to aligne X Y ad Z of my mesh axes on x,y and z of my object selected? I play with orientation, but I obtain strange result, orientatio, I don't understand use of quaternion what is the w parameter for (I have difficulties with math in english...)

So the result is that I dont dind how to align my axes.