docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IChainIKConstraintData

    This interface defines the data mapping for the ChainIK constraint.

    Namespace: UnityEngine.Animations.Rigging
    Assembly: Unity.Animation.Rigging.dll
    Syntax
    public interface IChainIKConstraintData

    Properties

    chainRotationWeightFloatProperty

    The path to the chain rotation weight property in the constraint component.

    Declaration
    string chainRotationWeightFloatProperty { get; }
    Property Value
    Type Description
    string

    maintainTargetPositionOffset

    This is used to maintain the current position offset from the tip Transform to target Transform.

    Declaration
    bool maintainTargetPositionOffset { get; }
    Property Value
    Type Description
    bool

    maintainTargetRotationOffset

    This is used to maintain the current rotation offset from the tip Transform to target Transform.

    Declaration
    bool maintainTargetRotationOffset { get; }
    Property Value
    Type Description
    bool

    maxIterations

    The maximum number of iterations allowed for the ChainIK algorithm to converge to a solution.

    Declaration
    int maxIterations { get; }
    Property Value
    Type Description
    int

    root

    The root Transform of the ChainIK hierarchy.

    Declaration
    Transform root { get; }
    Property Value
    Type Description
    Transform

    target

    The ChainIK target Transform.

    Declaration
    Transform target { get; }
    Property Value
    Type Description
    Transform

    tip

    The tip Transform of the ChainIK hierarchy. The tip needs to be a descendant/child of the root Transform.

    Declaration
    Transform tip { get; }
    Property Value
    Type Description
    Transform

    tipRotationWeightFloatProperty

    The path to the tip rotation weight property in the constraint component.

    Declaration
    string tipRotationWeightFloatProperty { get; }
    Property Value
    Type Description
    string

    tolerance

    The allowed distance between the tip and target Transform positions. When the distance is smaller than the tolerance, the algorithm has converged on a solution and will stop.

    Declaration
    float tolerance { get; }
    Property Value
    Type Description
    float
    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)