docs.unity.cn
    Show / Hide Table of Contents

    Character Controller Driver

    Controls a Character Controller height and center position based on the camera's (HMD) position upon locomotion events of a LocomotionProvider (typically the continuous movement provider). This allows the collider on the main XR Origin rig to resize to the player's height before trying to move with thumbstick input.

    CharacterControllerDriver component

    Property Description
    Locomotion Provider The LocomotionProvider object to listen to for locomotion events.
    Min Height The minimum height of the character's capsule that this behavior sets.
    Max Height The maximum height of the character's capsule that this behavior sets.
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, June 20, 2023