View Single Post
  #1  
Old 07-22-2018, 09:29 PM
amir amir is offline
Member
 
Join Date: Apr 2018
Posts: 22
Avatars + Tracking in Script

Is there a way to add avatars and have specific body parts move based on motion capture trackers without using Vizconnect? I've been able to get real-time motion capture with Optotrak to work with the below code, but not with Vizconnect, so I'm wondering if I can just do it all through the script. The avatar's feet need to move in relation to real movements, in the 1st-person view.

opto = viz.add('optotrak.dle')
body = opto.getBody(0)
viz.link(body, viz.MainView)

I will have a total of 3 Optotrak rigid bodies to track the following motion:
  • Head movements for adjusting the 1st-person visuals in the HMD
  • Left foot for walking
  • Right foot for walking
Reply With Quote