Immerseum.VRSimulator Namespace > EventManager Class > moveController Method : moveController(Int32,Vector3,Quaternion,Boolean) Method |
Fires the OnMoveControllerStart_Vector event.
Be Aware | |
Listeners are expected to have a return type of void and to accept the same parameters as this method (see below). |
public static void moveController( int controller, Vector3 targetOffset, Quaternion targetRotation, bool relativeToOrigin )
// Fires the OnMoveControllerStart_Vector event, moving the left-hand controller // forward by 0.5 and upward by 0.25. EventManager.moveController(0, new Vector3(0f, 0.5f, 0.25f), HMDSimulator.leftController.rotation, false);