WorldViz User Forum  

Go Back   WorldViz User Forum > Precision Position Tracker (PPT)

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1  
Old 02-24-2009, 09:45 AM
durf durf is offline
Member
 
Join Date: Feb 2009
Posts: 61
PPT movement in small area

Hi,

Im trying to move an object in a virtual world across a good distance. In the real world I only have a 10' x 10' room to work with. When I move the sensor about 4' the object in the virtual world doesnt move to far. Is there anyway to increase the movement in the virtual world with the amount of room I have to work with in the real world?

IE. I move 4 feet the object moves like a inch on the screen.

I want: If I move 4 feet the object moves like 6 inches on the screen.

Any thoughts or code?

Thanks
Reply With Quote
  #2  
Old 02-26-2009, 01:02 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You will need to apply a scale factor to the incoming position values of the PPT within your client application. For example if you wanted to increase the movement by a factor of 5 you would use the following psuedo-code:
Code:
x,y,z = GetPPTPosition();
SetObjectPosition(x*5,y*5,z*5);
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
Reading bone movement from animations Enlil Vizard 5 08-14-2008 03:29 PM
Mouse/Keyboard Movement joeymax Vizard 1 04-02-2007 11:43 AM
eye movement epl Vizard 1 06-04-2004 01:29 PM
Setting up a 'reaction area' Karthi Vizard 4 01-29-2004 05:39 PM
movement problems keastman Precision Position Tracker (PPT) 1 09-09-2003 12:41 PM


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


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