![]() |
#2
|
|||
|
|||
The example below links the hand to a keyboard tracker and keeps it in the reference frame of the main view:
Code:
import viz viz.go() import vizinfo vizinfo.add("To move the hand use 'a/d' left/right, 'w/s' forward/back, 'r/f' up/down") import viztracker keyTracker = viztracker.KeyboardPos() hand = viz.addAvatar('hand.cfg') ground = viz.addChild('tut_ground.wrl') link = viz.link(keyTracker,hand) link.preTrans([0.2,0,1]) link.postMultLinkable(viz.MainView) |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving main viewpoint when linked to PPT | v-clizzin | Precision Position Tracker (PPT) | 1 | 04-20-2010 04:09 PM |
Stop moving after few seconds?? | Chrissy2009 | Vizard | 8 | 05-10-2009 02:47 PM |
Moving avatars lips with sound | dan12345 | Vizard | 5 | 01-29-2008 07:32 PM |
Moving view with object | Xliben | Vizard | 2 | 07-25-2005 05:36 PM |
moving viewpoint vs. translating Head_pos | bailenson | Vizard | 5 | 02-01-2005 01:51 PM |