![]() |
|
#4
|
|||
|
|||
|
Within a function that gets called every frame you can get the tracker data as lists and extract the values you want to use. Something like the following:
Code:
def updateAvatar(): pos=tracker.getPosition() ori=tracker.getEuler() avatar.setPosition([pos[0],0,pos[2]]) avatar.setEuler([ori[0],0,0]) vizact.onupdate(0,updateAvatar) |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Avatar walking + camera free look | kovitch | Vizard | 2 | 08-08-2011 08:57 AM |
| avatar walking over a sequence of points | IGoudt | Vizard | 1 | 10-16-2009 12:22 PM |
| avatar automatically runs animation after fading into view | v-clizzin | Vizard | 1 | 10-14-2009 06:01 PM |
| Looking through the eyes of an avatar | Frank Verberne | Vizard | 2 | 04-01-2008 06:52 AM |
| How to make avatar's eyes to blink when speaking | michelcm3 | Vizard | 12 | 01-15-2008 09:48 AM |