CCDIK
extends IKSolver
CCDIK is used to control the end position of a character or object. By adjusting the joint angles, the end position can be made as close as possible to the given target position, resulting in more natural and flexible animation effects.
You can obtain the CCDIK component in the following way:
typescript
let obj = new GameObject();
let aimIk = obj.AddComponent<AimIK>(AimIK);成员变量
CCDIK.target : Transform|null |
| The Transform that is oriented towards the target. |
