Class IKChain2D
Class for storing data for a 2D IK Chain.
Inherited Members
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. |
is |
Returns true if the IK Chain is valid. False otherwise. |
lengths | Gets the length of the IK Chain. |
root |
Get the root transform for the IK Chain. |
target | Get and set the transform used as the IK Target. |
transform |
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 |
---|---|
Blend |
Blend between Forward Kinematics and Inverse Kinematics. |
Initialize() | Initialize the IK Chain. |
Restore |
Restores the IK Chain to it's default pose. |
Store |
Explicitly stores the local rotation. |