#1
|
|||
|
|||
How to make an object fixed in viewpoint coordinate system?
Hi everyone,
Anybody knows how to make an object fixed in viewpoint coordinate system? e.g. when subjects wear HMD, I want them always to see a certain object in front of them. Thanks a lot. Xianshi |
#2
|
|||
|
|||
You could link an object to the viewpoint.
Code:
ball = viz.add('ball.wrl') link = viz.link(viz.MainView, ball) link.preTrans([0,0,2]) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
retrieve Object names | Geoffrey | Vizard | 11 | 12-11-2009 04:26 AM |
A point in avatar's coordinate system | omidbrb | Vizard | 2 | 05-15-2009 05:39 AM |
Different coordinate system for plug-in and vizard API? | reedev | Plug-in development | 4 | 12-10-2008 08:43 AM |
Avatar w/ hat cannot look at viewpoint | TrashcanPatrol | Vizard | 5 | 08-19-2008 08:26 AM |