how to adjust eye height with vizconnect setup
I've seen the vizconnect tutorials here - http://docs.worldviz.com/vizard5/#vi...rackers|_____1
but I cannot work out how to adjust the eyeheight of the main/default display in code at runtime. i have a display ('custom_window') attached to a head which sits under the avatar in the scene graph) I can walk around using the cursor keys and look up/down/around using the mouse but the eye height is fixed. i'd be interested to know how I can set the default from within vizconnect but primarily I'd like to adjust it in code. Thanks |
In Vizconnect, from the Trackers tab click on the Offsets button of a mouse and keyboard tracker that's already been added. Add a post trans y value to change the height value output by the tracker.
In a script that imports the configuration file get a handle to the tracker link and apply the postTrans operation on the link: Code:
trackerLink = vizconnect.getTracker('mouse_and_keyboard_walking').getLink() |
All times are GMT -7. The time now is 07:08 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC