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 |
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) |
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? |
Nevermind I got it!!!!!!!!!!!!!!!!
|
All times are GMT -7. The time now is 11:35 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC