Skip to content

Components

Ik

Reaches a chain of bones toward another node: an arm's hand, a leg's foot. Goes on the chain's tip; lower its weight to blend the reach with the animation. A chain of one bone points instead: a head that watches, a turret.

On this page

Add it

+ Add node → IK Chain creates a node with it already on. Already have a node for it? Add component → IkComponent.

From a script

A script on the same node writes these fields by name. IkComponent is the name to pass.

rgs
set_text("IkComponent", "target", "");
set_number("IkComponent", "weight", 1.0);
set_flag("IkComponent", "enabled", true);

Fields

FieldScript nameKindDefaultWhat it does
TargettargettextemptyThe node this chain reaches for.
Chainchainnumber, 1 to 162How many bones the chain covers, counting this node's own. One turns the bone to point at the target; two is a limb; more is a tail.
Bendbendone of Positive, NegativePositiveWhich way a two-bone chain folds.
Weightweightnumber, 0 to 1, step 0.011How much of the chain's computed pose to apply, from none to all.
EnabledenabledcheckboxonWhether it runs right now.