Class ConstrainedMoveProvider
Base class for a locomotion provider that allows for constrained movement with a CharacterController.
Inheritance
ConstrainedMoveProvider
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
public abstract class ConstrainedMoveProvider : LocomotionProvider
Properties
| Name | Description |
|---|---|
| enableFreeXMovement | Controls whether to enable unconstrained movement along the x-axis. |
| enableFreeYMovement | Controls whether to enable unconstrained movement along the y-axis. |
| enableFreeZMovement | Controls whether to enable unconstrained movement along the z-axis. |
| transformation | The transformation that is used by this component to apply translation movement. |
| useGravity | Controls whether gravity applies to constrained axes when a CharacterController is used. |
Methods
| Name | Description |
|---|---|
| ComputeDesiredMove(out bool) | Determines how much to move the rig. |
| MoveRig(Vector3) | Creates a locomotion event to move the rig by |
| Update() | See MonoBehaviour. |