Struct FABRIKChain2D
Structure to store FABRIK Chain data.
Inherited Members
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. |