Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
applyCollider Method
Integer which identifies which simulated controller to instantiate. Accepts 0 for the left-hand controller, and 1 for the right-hand controller.
If true, removes the Collider from the simulated controller after instantiation. If false, leaves the Collider and applies properties as per the ControllerManager's settings.

Fires the OnApplyCollider 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 applyCollider( 
   int controller,
   bool removeCollider
)

Parameters

controller
Integer which identifies which simulated controller to instantiate. Accepts 0 for the left-hand controller, and 1 for the right-hand controller.
removeCollider
If true, removes the Collider from the simulated controller after instantiation. If false, leaves the Collider and applies properties as per the ControllerManager's settings.
See Also

Reference

EventManager Class
EventManager Members

 

 


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

Send Feedback