docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MovePivotPointToOrigin

    MovePivotPointToOrigin(uint, bool)

    Move the pivot point of an occurrence (and its descendants if recursively) to the origin (0,0,0)

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void MovePivotPointToOrigin(uint occurrence, bool applyToChildren)
    Parameters
    Type Name Description
    uint occurrence

    The occurrence (or the root occurrence if recursively=True)

    bool applyToChildren

    If True, all the pivot of the descending occurrences from occurrence will be affected

    In This Article
    Back to top
    Copyright © 2025 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)