WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-04-2009, 07:39 PM
cgibb cgibb is offline
Member
 
Join Date: Apr 2009
Posts: 14
Thumbs up viztracker + hand model

Hello,

I'm attempting to show a visible hand on the screen at all times by using viztrack.MousePos() and viz.link. While it seems to work in an outside world (outside of my room model), it appears that the distance of the model from the pointer is much too far. I've manually edited viztracker.py, setting self.length = 1, but is there a programmatic/better way to do this?

Thanks in advance for the help.
Reply With Quote
  #2  
Old 06-06-2009, 10:35 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Keep a handle to the MouseTracker object, then set length field to 1 when out of the house.

Code:
mouseHand = viztracker.MouseTracker()
mouseHand.length = 1
You can also use the mousewheel to change the hand distance.
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
  #3  
Old 06-07-2009, 10:17 AM
cgibb cgibb is offline
Member
 
Join Date: Apr 2009
Posts: 14
Quote:
Originally Posted by Gladsomebeast View Post
Keep a handle to the MouseTracker object, then set length field to 1 when out of the house.

Code:
mouseHand = viztracker.MouseTracker()
mouseHand.length = 1
You can also use the mousewheel to change the hand distance.
That worked great. Thanks!
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 10:24 PM.


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