PDA

View Full Version : viztracker + hand model


cgibb
06-04-2009, 07:39 PM
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.

Gladsomebeast
06-06-2009, 10:35 PM
Keep a handle to the MouseTracker object, then set length field to 1 when out of the house.


mouseHand = viztracker.MouseTracker()
mouseHand.length = 1


You can also use the mousewheel to change the hand distance.

cgibb
06-07-2009, 10:17 AM
Keep a handle to the MouseTracker object, then set length field to 1 when out of the house.


mouseHand = viztracker.MouseTracker()
mouseHand.length = 1


You can also use the mousewheel to change the hand distance.

That worked great. Thanks!