|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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); |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reading bone movement from animations | Enlil | Vizard | 5 | 08-14-2008 02:29 PM |
Mouse/Keyboard Movement | joeymax | Vizard | 1 | 04-02-2007 10:43 AM |
eye movement | epl | Vizard | 1 | 06-04-2004 12:29 PM |
Setting up a 'reaction area' | Karthi | Vizard | 4 | 01-29-2004 04:39 PM |
movement problems | keastman | Precision Position Tracker (PPT) | 1 | 09-09-2003 11:41 AM |