docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IKChain2D

    Class for storing data for a 2D IK Chain.

    Inheritance
    object
    IKChain2D
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.U2D.IK
    Assembly: solution.dll
    Syntax
    [MovedFrom("UnityEngine.Experimental.U2D.IK")]
    [Serializable]
    public class IKChain2D

    Fields

    Name Description
    m_Lengths

    Lengths of IK Chain.

    Properties

    Name Description
    effector

    Get and set the transform used as the IK Effector.

    isValid

    Returns true if the IK Chain is valid. False otherwise.

    lengths

    Gets the length of the IK Chain.

    rootTransform

    Get the root transform for the IK Chain.

    target

    Get and set the transform used as the IK Target.

    transformCount

    Get and Set the number of transforms in the IK Chain.

    transforms

    Get the transforms that are used in the IK Chain.

    Methods

    Name Description
    BlendFkToIk(float, bool)

    Blend between Forward Kinematics and Inverse Kinematics.

    Initialize()

    Initialize the IK Chain.

    RestoreDefaultPose(bool)

    Restores the IK Chain to it's default pose.

    StoreLocalRotations()

    Explicitly stores the local rotation.

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