Vive: trouble setting node as a child of the head
Hello folks,
I'm trying to do a routine operation with the vive, and am having trouble. I would like to set a node (a vizshape sphere) in front of the head eye. One approach is to child the node to the mainview, or the head tracker. However, neither approach seems to work! For example, if you use the standard vizconnect VIVE config and add the following code to main: HTML Code:
import vizshape Am I missing something? Also, in the code above, note that the assumption is that the head is facing down Z in the model's local coordinate system. I'm not sure that this assumption is true (although, no other directions work either). What direction is "forward" and what direction "up" for the Vive? |
Try using the
|
Success with <node>.setReferenceFrame()
Thanks jeff! The following code worked...
HTML Code:
import vizshape |
Problems continue. What's going on?
Sadly, my attempts to place a sphere along the gaze vector are still not behaving as expected. None of the parenting functions work, and viz.setRefrenceFrame is producing unpredictable results.
Here are two new attempts dropped into my vizconfig main function that uses the standard VIVE template. Neither work. Any advice from the peanut gallery? HTML Code:
|
All times are GMT -7. The time now is 08:08 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC