Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [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) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback