Class CharacterControllerDriver
Controls a Character
Inherited Members
Namespace: UnityEngine .XR.Interaction.Toolkit
Assembly: Unity.XR.Interaction.Toolkit.dll
Syntax
[AddComponentMenu("XR/Locomotion/Character Controller Driver", 11)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.interaction.toolkit@2.5/api/UnityEngine.XR.Interaction.Toolkit.CharacterControllerDriver.html")]
public class CharacterControllerDriver : MonoBehaviour
Properties
characterController
(Read Only) The Character
Declaration
protected CharacterController characterController { get; }
Property Value
Type | Description |
---|---|
Character |
locomotionProvider
The Locomotion
Declaration
public LocomotionProvider locomotionProvider { get; set; }
Property Value
Type | Description |
---|---|
Locomotion |
maxHeight
The maximum height of the character's capsule that this behavior sets.
Declaration
public float maxHeight { get; set; }
Property Value
Type | Description |
---|---|
float |
See Also
minHeight
The minimum height of the character's capsule that this behavior sets.
Declaration
public float minHeight { get; set; }
Property Value
Type | Description |
---|---|
float |
See Also
xrOrigin
(Read Only) The Unity.
Declaration
protected XROrigin xrOrigin { get; }
Property Value
Type | Description |
---|---|
XROrigin |
Methods
Awake()
See Mono
Declaration
protected void Awake()
OnDisable()
See Mono
Declaration
protected void OnDisable()
OnEnable()
See Mono
Declaration
protected void OnEnable()
Start()
See Mono
Declaration
protected void Start()
UpdateCharacterController()
Declaration
protected virtual void UpdateCharacterController()