docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property useCharacterControllerIfExists

    useCharacterControllerIfExists

    If true and if a constrainedBodyManipulator is not already assigned, this behavior will check in OnEnable() if the Origin has a CharacterController. If so, it will set constrainedBodyManipulator to a shared instance of CharacterControllerBodyManipulator, so that the Character Controller is used to perform constrained movement.

    Declaration
    public bool useCharacterControllerIfExists { get; set; }
    Property Value
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)