WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-17-2008, 11:37 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
To be clear, you want the orientation of the viewpoint to come from the emagin and the position to come from the patriot?
Reply With Quote
  #2  
Old 07-17-2008, 11:38 AM
smith11235 smith11235 is offline
Member
 
Join Date: Jul 2008
Posts: 8
yes, that would be correct.
Reply With Quote
  #3  
Old 07-17-2008, 11:41 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Then the simplest solution would be to use the viz.mergeLinkable command. Have a look in the docs for an explanation. Here is some simple code showing how to use it:
Code:
#Combine position of patriot and ori of emagin into one sensor
tracker = viz.mergeLinkable(patriot,emagin)

#Link tracker to main viewpoint
headLink = viz.link(tracker,viz.MainView)
Reply With Quote
  #4  
Old 07-24-2008, 09:28 AM
smith11235 smith11235 is offline
Member
 
Join Date: Jul 2008
Posts: 8
Thanks for your help. That worked great, I had missed that function while looking through the help files.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
General question and question regarding arrays dan12345 Vizard 1 01-15-2008 10:15 AM
viztask question asimbh Vizard 1 11-20-2007 09:12 AM
to rephrase my question... shai Vizard 2 10-27-2004 10:55 AM
Lots of Question Karthi Vizard 4 02-20-2004 06:42 PM
Basic Joystick Navigation Question Plasma Vizard 2 01-29-2004 07:08 PM


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


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