WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Need help with Phantom omni (https://forum.worldviz.com/showthread.php?t=2031)

sebzim4500 05-14-2009 02:50 AM

Need help with Phantom omni
 
Is there an easy way to get the position of the pointer of a phantom omni by using the hd plugin.

Jeff 05-14-2009 02:25 PM

You can use
Code:

pos = hd.get(hd.POSITION)
to get the position in the space you've defined

sebzim4500 05-15-2009 02:02 AM

how do I access the x, y and z coordinates?

M@rcello 05-26-2016 08:05 AM

Quote:

Originally Posted by sebzim4500 (Post 7924)
how do I access the x, y and z coordinates?

HTML Code:

print pos[0]
In this way you have information about the x coordinate of the phantom


All times are GMT -7. The time now is 12:34 PM.

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