Immerseum.VRSimulator Namespace : ControllerManager Class |
The following tables list the members exposed by ControllerManager.
Name | Description | |
---|---|---|
ControllerManager Constructor |
Name | Description | |||||
---|---|---|---|---|---|---|
applyCollider | Indicates whether a Collider should be applied to and enabled on simulated controllers.
| |||||
applyColliderHand | If applyCollider is true, then indicates which simulated controller(s) should receive an enabled Collider.
| |||||
applyRigidbody | Indicates whether a Rigidbody should be applied to the simulated controller(s). | |||||
applyRigidbodyHand | If applyRigidbody is true, then indicates which simulated controller(s) should receive a Rigidbody. | |||||
areControllersSimulated | Indicates whether both left-hand and right-hand controllers have been simulated. | |||||
colliderCenter | Returns the center of the Collider applied to the simulated controller(s). | |||||
colliderDirection | Returns the direction of the Collider applied to the simulated controller(s).
| |||||
colliderHeight | Returns the height of the Collider applied to the simulated controller(s).
| |||||
colliderPhysicMaterial | Indicates the Physic Material applied to the Collider component(s) applied to the simulated controller(s).
| |||||
colliderRadius | Returns the radius of the simulated controller(s)' Collider.
| |||||
colliderSize | Returns the scale of the Collider applied to the simulated controller(s). | |||||
Instance | The Singleton Instance of the ControllerManager class. | |||||
isKinematic | Indicates whether the simulated controller(s)' Rigidbody component(s) should be kinematic.
| |||||
isTrigger | Indicates whether the Collider applied to simulated controller(s) should be flagged as a trigger.
| |||||
movementSpeed | Returns the speed at which simulated controllers naturally move. | |||||
primaryHand | Returns the primary/dominant hand. | |||||
rbAngularDrag | Returns the Angular Drag Factor applied to the Rigidbody component(s) applied to the simulated controller(s). | |||||
rbDrag | Returns the Drag Factor applied to the simulated controller(s)' UnityEngine.Rigidbody component(s). | |||||
rbMass | Returns the mass of the Rigidbody applied to the indicated controller(s). | |||||
rbUseGravity | Returns the value of Use Gravity applied to the Rigidbody component(s) attached to the simulated controller(s). | |||||
seatedAdjustment | The height by which simulated controllers are adjusted, expressed as m (or unity units). | |||||
startingPosition | Gets the position in which simulated controllers should start. |
Name | Description | |
---|---|---|
moveController | Overloaded. Moves the controller to the targetPosition and adjusts its rotation to targetRotation. |