|
#1
|
|||
|
|||
PPT movement in small area using vizard 3.0
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 can apply a scale factor on your position data. This will apply a scale factor of 2 for x,y, and z using the link of the sensor and object
Code:
link.postScale([2,2,2],target=viz.LINK_POS_OP) |
#3
|
|||
|
|||
I assume that if I have a link already:
ballLink = viz.link(ppt, ball) I would put that line that you sent after it. Do I set it equal to something or just to ballLink? |
#4
|
|||
|
|||
Nevermind I got it!!!!!!!!!!!!!!!!
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PPT movement in small area | durf | Precision Position Tracker (PPT) | 1 | 02-26-2009 12:02 PM |
Vizard tech tip: Text to Speech | Jeff | Vizard | 1 | 01-15-2009 09:39 PM |
Vizard and Augmented Reality | realvision | Vizard | 4 | 04-04-2008 10:59 AM |
Small Vizard programming Jobs? | realvision | Announcements | 0 | 03-17-2008 08:53 AM |
Fall 2007 release of Vizard R3 | 3 D | Announcements | 0 | 10-15-2007 04:50 PM |