docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property forceUnconstrained

    forceUnconstrained

    Whether to ignore constrainedManipulator even if it is set. Defaults to false to use the movement constraints if configured to.

    Declaration
    public bool forceUnconstrained { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    Setting this to true will mean the body will always be moved using the Transform component directly. Setting this to false will use MoveBody(Vector3) to move the Origin if the constrainedManipulator is not null, and otherwise use the Transform component.

    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)