View Full Version : PPT movement in small area

02-24-2009, 08:45 AM

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?


02-26-2009, 12:02 PM
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:x,y,z = GetPPTPosition();