WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-15-2017, 05:25 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The getPosition() command returns an [x,y,z] list that you access like other Python lists:

Code:
pos = tracker.getPosition()
x = pos[0]
y = pos[1]
z = pos[2]
Reply With Quote
Reply

Tags
scene, texture, vizard


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
Changing objects in scene Van Vizard 2 12-02-2016 02:04 AM
How to show different objects on different windows from the same scene Joran Vizard 3 07-14-2014 03:07 PM
Copying Scene? Brett Lindberg Vizard 0 08-28-2009 11:56 PM
importing a single WRL with many objects. giancamati Vizard 3 12-18-2006 01:13 PM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM


All times are GMT -7. The time now is 08:20 PM.


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