Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
moveController(Int32,ControllerPositions) Method
Example 
The controller to move. Accepts either 0 for left-hand or 1 for right-hand.
The target position for the controller to occupy, expressed as a ControllerPositions .
Moves the controller to the targetPosition while retaining its current rotation.
Syntax
public static void moveController( 
   int controller,
   ControllerPositions targetPosition
)

Parameters

controller
The controller to move. Accepts either 0 for left-hand or 1 for right-hand.
targetPosition
The target position for the controller to occupy, expressed as a ControllerPositions .
Remarks
Fires the EventManager.OnMoveControllerStart event.
Example
Moves the right-hand controller to the Reaching position.
ControllerManager.moveController(1, ControllerPositions.Reaching);
See Also

Reference

ControllerManager Class
ControllerManager Members
Overload List

 

 


Copyright (c) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback