WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-24-2009, 12:53 PM
Jerry Jerry is offline
Member
 
Join Date: Jun 2004
Posts: 105
Seeing your own feet

I would like an observer, wearing an hmd, with position and orientation
tracking enabled, to be able to see his own feet when looking down
at the ground. Is it possible to do this by linking an avatar to MainView
so that you see the avatars legs and feet when looking down?
Reply With Quote
  #2  
Old 06-25-2009, 09:51 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If you have a feet model, you can link it to the main view and use the setPos and setEuler operators to keep the Y position on the floor and only transfer the yaw of the main view. Here is a sample that uses the ball model as the feet:
Code:
import viz
viz.go()

viz.add('tut_ground.wrl')

feet = viz.add('ball.wrl')
feet_link = viz.link(viz.MainView,feet)
feet_link.setEuler([None,0,0])
feet_link.setPos([None,0,None])
Reply With Quote
  #3  
Old 08-10-2018, 07:14 AM
amir amir is offline
Member
 
Join Date: Apr 2018
Posts: 22
Am I able to link the ball with a tracking rigid body somehow? So that when the rigid body moves in space, the ball does in the virtual environment with it?
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:52 AM.


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