Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
applyRigidbody Method
Integer which identifies which simulated controller to instantiate. Accepts 0 for the left-hand controller, and 1 for the right-hand controller.

Fires the OnApplyRigidbody event.

Be Aware Be Aware

Listeners are expected to have a return type of void and to accept the same parameters as this method (see below).

Syntax
public static void applyRigidbody( 
   int controller
)

Parameters

controller
Integer which identifies which simulated controller to instantiate. Accepts 0 for the left-hand controller, and 1 for the right-hand controller.
See Also

Reference

EventManager Class
EventManager Members

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback