Multi-Aim Constraint | Animation Rigging | 0.2.7-preview
docs.unity3d.com

    Multi-Aim Constraint

    Example

    A Multi-Aim Constraint rotates a GameObject to face its source GameObject. It is typically applied on a GameObject to follow around one or more GameObjects. You can specify the aim direction by specifying the Aim Axis to the desired vector (X, -X, Y, -Y, Z, -Z)

    Component

    Properties Description
    Weight The weight of the constraint. If set to 0, the constraint has no influence on the Constrained GameObject while when set to 1, it applies full influence given the specified settings.
    Constrained Object The GameObject affected by the constraint Source GameObjects
    Aim Axis Specifies the local aim axis of the constrained Object to use in order to orient itself to the Source Objects.
    Source Objects The list of GameObjects that influence the constrained GameObject orientation. Unity evaluates source GameObjects in the order that they appear in this list. This order affects how this constraint rotates the constrained GameObject. To get the result you want, drag and drop items in this list. Each source has a weight from 0 to 1.
    Maintain Rotation Offset Maintain the current rotation offset from the constrained GameObject to the source GameObjects
    Offset Apply and extra post rotation offset to the constrained object. Specified in local space.
    Constrained Axis Check X, Y, or Z to allow the constraint to control the corresponding axis. Uncheck an axis to stop the constraint from controlling it.
    Min Limit Clamps the minimum value of the rotation axis along which the constraint GameObject rotates
    Max Limit Clamps the maximum value of the rotation axis along which the constraint GameObject rotates
    Back to top
    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