WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Joystick Rotation mhead10 Vizard 9 11-26-2012 12:06 PM
set bone rotation - cal3d munteanu24d Vizard 0 03-23-2010 04:25 AM
Unable to perform 360 rotation using vizact.spinto vijaykiran Vizard 2 09-29-2009 08:39 AM
tracking head rotation orientation VAmanda Vizard 3 09-21-2005 04:57 PM
getting absolute rotation tavaksai Vizard 1 08-03-2004 01:40 PM


All times are GMT -7. The time now is 03:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC