View Single Post
  #2  
Old 07-28-2014, 03:46 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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()
#Apply 1 meter post trans offset to Y value
trackerLink.postTrans([0,1,0])
If you want to apply an offset between the view and the avatar, so the view is higher or behind the avatar then the setup would be different. In this case you could insert a group node between the avatar head slot and the display in the scene graph and then change the offset of the group node.
Reply With Quote