Skip to content

FABRIK

extends IKSolver

FABRIK is used to control the end position of a character or object. It adjusts the joint angles to gradually bring the position of the end of the skeleton (or end effector) closer to a given target position, resulting in more natural and flexible animation effects.

You can obtain the FABRIK component object using the following method:

typescript
let obj = new GameObject();
let FABRIk = obj.AddComponent<FABRIK>(FABRIK);

成员变量

FABRIK.target : Transform|null
The Transform that is oriented towards the target.