docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct FABRIKChain2D

    Structure to store FABRIK Chain data.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEngine.U2D.IK
    Assembly: solution.dll
    Syntax
    [MovedFrom("UnityEngine.Experimental.U2D.IK")]
    public struct FABRIKChain2D

    Fields

    Name Description
    lengths

    Array of chain lengths.

    origin

    Position of the origin.

    positions

    Array of chain positions.

    sqrTolerance

    Target position's tolerance (squared).

    subChainIndices

    Sub-Chain indices.

    target

    Position of the target which is used to indicate the desired position for the Effector.

    worldPositions

    Array of world positions.

    Properties

    Name Description
    first

    Returns the first element's position.

    last

    Returns the last element's position.

    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)