WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Avatars + Tracking in Script (https://forum.worldviz.com/showthread.php?t=6168)

amir 07-22-2018 08:29 PM

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

Jeff 07-25-2018 09:07 PM

It's best to set up the avatar IK in vizconnect. Regarding using optotrack with vizconnect, please follow up in this thread.


All times are GMT -7. The time now is 07:11 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC