Hand Controller

Implements the handling of the hand input from the various input controllers. This functions should be set on a target and will update its transform.

Inspector Properties

Body SideWhich hand is controlled by this target
InputLow level input values (see also InstantVR – Input)
– Stick HorizontalAnalog stick horizontal value
– Stick VerticalAnalog stick vertical value
– Stick ButtonAnalog stick press
– Button OneFirst Button pressed
– Button TwoSecond Button pressed
– Button ThreeThirdButton pressed
– Button FourFourth Button pressed
– BumperBumper is pressed
– TriggerTrigger value
– OptionOption button pressed
ControllerWhich controllers are enabled. The order in which they are listed determines the priority. Hydra has the highest priority so will be chosen above all others when it is available.
– HydraRazer Hydra
– KinectMicrosoft Kinect
Gamepad MouseXbox 360 controller and mouse/keyboard
SensitivityRazer Hydra controller sensitivity

Additional Script Variables

In addition to the inspector properties, the following variables are available for scripts:

activatedis the tracking of the target currently active?
virtualHandthe Hand Movements script driven by this controller