docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TwistCorrectionData

    The TwistCorrection constraint data.

    Implements
    IAnimationJobData
    ITwistCorrectionData
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Animations.Rigging
    Assembly: Unity.Animation.Rigging.dll
    Syntax
    [Serializable]
    public struct TwistCorrectionData : IAnimationJobData, ITwistCorrectionData

    Properties

    sourceObject

    The source Transform that influences the twist nodes.

    Declaration
    public Transform sourceObject { get; set; }
    Property Value
    Type Description
    Transform

    twistAxis

    Declaration
    public TwistCorrectionData.Axis twistAxis { get; set; }
    Property Value
    Type Description
    TwistCorrectionData.Axis

    twistNodes

    The list of Transforms on which to apply twist corrections. Each twist node has a weight that ranges from -1 to 1 to control how closely a twist node follows source rotation (from 0 to 1), or opposite rotation (from -1 to 0).

    Declaration
    public WeightedTransformArray twistNodes { get; set; }
    Property Value
    Type Description
    WeightedTransformArray

    Implements

    IAnimationJobData
    ITwistCorrectionData
    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)