WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-07-2017, 08:46 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Each time an object is added in vizconnect, both a raw and a wrapper object are added to the vizconnect session. The raw object is the same as the tracker, display window, input device etc. that is returned when using Vizard code to add the object. The wrapper object is a vizconnect layer that wraps up the raw object along with meta data and may include additional functionality based on the object type. The raw object is accessible from the wrapper:

Code:
joystick = vizconnect.getInput('joystick').getRaw()
The setUpdateFunction is called on a transport and defines the input signals that controls its movements. Are you trying to customize how the joystick moves a transport? If so, how do you want it to operate?
Reply With Quote
  #2  
Old 03-20-2017, 09:38 AM
fivel_lab fivel_lab is offline
Member
 
Join Date: Mar 2011
Posts: 36
Hi Jeff.. thanks for your help. Actually, I am just trying to intercept buttondown events on the joystick so I can send them to a function that determines the appropriate action to take based on the button pressed. I am upgrading from a vizard 4 set up where I had a modified onSensorDown function doing that. Is there an easier way to do that in vizard 5 or do I still need the handle to the raw joystick to accomplish this?
Reply With Quote
Reply

Tags
documentation, vizconnect

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding changing &using multiple tools at same time through vizconnect rajnishv Vizard 7 09-08-2016 04:48 AM
How do you use vizconnect Transport-JumpTo szkuls Vizard 1 05-27-2016 05:34 AM
Zspace display in Vizconnect JB_HP_Viz Vizard 5 06-05-2015 03:28 PM
Switching between input devices setup in vizconnect and not using vizconnect JB_HP_Viz Vizard 1 01-20-2015 05:19 AM
Vizconnect Save As Dialog Jeff Vizard 0 05-01-2014 09:45 AM


All times are GMT -7. The time now is 09:07 PM.


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