Class CCDSolver2D
Component responsible for 2D Cyclic Coordinate Descent (CCD) IK.
Implements
Inherited Members
Namespace: UnityEngine .U2D.IK
Assembly: solution.dll
Syntax
[MovedFrom("UnityEngine.Experimental.U2D.IK")]
[Solver2DMenu("Chain (CCD)")]
[Icon("Packages/com.unity.2d.animation/Editor/Assets/ComponentIcons/Animation.IKCCD.png")]
public sealed class CCDSolver2D : Solver2D, IPreviewable
Properties
Name | Description |
---|---|
iterations | Get and set the solver's integration count. |
tolerance | Get and set target distance tolerance. |
velocity | Get and Set the solver velocity. |
Methods
Name | Description |
---|---|
Do |
Prepares the data required for updating the solver. |
Do |
Updates the IK and sets the chain's transform positions. |
Get |
Gets the chain in the solver at index. |
Get |
Returns the number of chains in the solver. |