View Single Post
  #4  
Old 11-22-2013, 04:25 AM
ChrisMa ChrisMa is offline
Member
 
Join Date: Sep 2013
Posts: 13
I really don't understand it. After two ours of trying I found this as a working solution.
Code:
#Negate Z value of position 
head.swapPos([-1,3,-2]) 

#Negate X,Y value of quaternion 
head.swapQuat([-1,-3,-2,4])
The Z Value of the Head Target is pointing to the sky, the y-axis in viewwing direction and the x Axis to the right side of the user.


I would really appreciate if you could give me some Input on the swapQuat funkction.

Thanks!

Last edited by ChrisMa; 11-22-2013 at 04:27 AM.
Reply With Quote