WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-24-2009, 08:46 AM
durf durf is offline
Member
 
Join Date: Feb 2009
Posts: 61
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
Reply With Quote
  #2  
Old 02-24-2009, 09:15 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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)
Reply With Quote
  #3  
Old 02-24-2009, 09:25 AM
durf durf is offline
Member
 
Join Date: Feb 2009
Posts: 61
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?
Reply With Quote
  #4  
Old 02-24-2009, 09:34 AM
durf durf is offline
Member
 
Join Date: Feb 2009
Posts: 61
Nevermind I got it!!!!!!!!!!!!!!!!
Reply With Quote
Reply


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
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


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


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