WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Translate HEAD_POS to absolute coordinates? (https://forum.worldviz.com/showthread.php?t=151)

vrhelp2004 05-18-2004 04:42 PM

Translate HEAD_POS to absolute coordinates?
 
Hi,
Would anyone happen to know how to move the user's head position to absolute coordinates?
Thanks!

farshizzo 05-18-2004 04:53 PM

Hi,

Here's some sample code that will translate the viewers head position to (1,2,3):
Code:

view = viz.get(viz.MAIN_VIEWPOINT)
view.translate(1,2,3)



All times are GMT -7. The time now is 06:56 PM.

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