![]() |
|
#5
|
|||
|
|||
|
The ScrollWheel tracker included with the vizconnect library returns Z position data. This could be combined with the X and Y data returned from the viz.mouse.getPosition() function:
Code:
import viz import vizact viz.go() from vizconnect.util.virtual_trackers import ScrollWheel mouseTracker = ScrollWheel(scaleVelocityWithDistance=True, extensionAccel=100, debug=False) def printData(): print mouseTracker.getPosition() vizact.ontimer(1,printData) |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Set Mouse Position | javadi | Vizard | 2 | 11-19-2013 04:59 AM |
| get tracker position and euler | chris_user | Vizard | 2 | 07-01-2011 02:31 AM |
| Mouse event: how to detect no mouse move event, how to set mouse position? | Zhi | Vizard | 3 | 04-11-2011 07:25 PM |
| set mouse position | AlyssaK | Vizard | 1 | 01-28-2009 05:05 PM |
| Can you link the position of a tracker to the orientation of an object? | michaelrepucci | Vizard | 1 | 09-19-2008 11:23 AM |