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
| Field | Script name | Kind | Default | What it does |
|---|---|---|---|---|
| Target | target | text | empty | The node this chain reaches for. |
| Chain | chain | number, 1 to 16 | 2 | How 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. |
| Bend | bend | one of Positive, Negative | Positive | Which way a two-bone chain folds. |
| Weight | weight | number, 0 to 1, step 0.01 | 1 | How much of the chain's computed pose to apply, from none to all. |
| Enabled | enabled | checkbox | on | Whether it runs right now. |