WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-14-2009, 02:50 AM
sebzim4500 sebzim4500 is offline
Member
 
Join Date: May 2009
Posts: 4
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.
Reply With Quote
  #2  
Old 05-14-2009, 02:25 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You can use
Code:
pos = hd.get(hd.POSITION)
to get the position in the space you've defined
Reply With Quote
  #3  
Old 05-15-2009, 02:02 AM
sebzim4500 sebzim4500 is offline
Member
 
Join Date: May 2009
Posts: 4
how do I access the x, y and z coordinates?
Reply With Quote
  #4  
Old 05-26-2016, 08:05 AM
M@rcello M@rcello is offline
Member
 
Join Date: May 2016
Posts: 11
Quote:
Originally Posted by sebzim4500 View Post
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
Reply With Quote
Reply


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
Phantom Omni Device Scripts vSuejung Vizard 1 09-17-2008 04:42 PM
Phantom Omni Demo betancourtb82 Vizard 1 10-17-2006 10:23 AM
Direct access to phantom omni data vsully Vizard 1 03-14-2006 09:44 AM
SenseAble Phantom set up with Vizard jfreeman Vizard 1 06-01-2005 10:27 AM
Phantom Device Getting Stuck vjosh Vizard 1 05-09-2005 11:16 AM


All times are GMT -7. The time now is 04:36 PM.


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