docs.unity3d.com
    Show / Hide Table of Contents

    Multi-Position Constraint

    Example

    A Multi-Position Constraint component moves a Constrained Object to follow its Source Objects.

    Component

    Properties Description
    Weight The overall weight of the constraint. If set to 0, the constraint has no influence on the Constrained Object. When set to 1, it applies full influence with the current settings. Intermediate values are interpolated linearly.
    Constrained Object The GameObject affected by the Source Objects.
    Constrained Axes Specifies the axes to which the constraint can apply translation.
    Source Objects The list of GameObjects that influence the Constrained Object's position, and the amount of weight they contribute to the final pose. The constraint calculates translation toward each target to produce a weighted sum. The order of Source Objects does not affect the result.
    Maintain Position Offset Specifies whether to maintain the initial position offset between the Constrained Object and the Source Objects.
    Offset Specifies an additional local space translation offset to apply to the Constrained Object, after it has been moved toward its target.
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023