![]() |
|
#1
|
|||
|
|||
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) |
#2
|
|||
|
|||
I have this code:
Quote:
|
#3
|
|||
|
|||
Try removing the line where the avatar is linked to the Patriot data. That link is overriding the update function.
|
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Avatar walking + camera free look | kovitch | Vizard | 2 | 08-08-2011 07:57 AM |
avatar walking over a sequence of points | IGoudt | Vizard | 1 | 10-16-2009 11:22 AM |
avatar automatically runs animation after fading into view | v-clizzin | Vizard | 1 | 10-14-2009 05:01 PM |
Looking through the eyes of an avatar | Frank Verberne | Vizard | 2 | 04-01-2008 05:52 AM |
How to make avatar's eyes to blink when speaking | michelcm3 | Vizard | 12 | 01-15-2008 08:48 AM |