For the complete documentation index, see llms.txt. This page is also available as Markdown.

IK Processors

The solvers that move the bones

Overview

An IK Processor is one solver inside an IK Set. It does exactly one job — place a hand, align a foot to the ground, turn the head toward the aim direction — and it does it with the weight the Set hands it.

A Set can hold as many as you need, and they run top to bottom, so a processor can build on what the one above it did.

Add them with the + button of the IK Processor list. The menu is split in two groups.

Group
Runs in
Works on

Humanoid

OnAnimatorIK

Humanoid Avatars only — uses Unity's Avatar IK (SetIKPosition, SetLookAtPosition, SetBoneLocalRotation)

Generic

LateUpdate

Any skeleton — writes bone rotations directly


How a processor finds its bone

Every processor needs to know which Transform to work on. There are two routes, and the processor decides which one it accepts:

  • IK Tag — the processor holds a Tag; the Manager resolves it from its Global Targets list. Portable across characters, and the only route that works inside an IK Set Library or an IK Profile.

  • Target Index — an index into the Set's Targets array. Only meaningful in the scene, and usually filled at runtime by an IK Connector.

The Tag field appears in the processor row whenever the processor needs a target. As soon as a Tag is assigned, the Target Index is hidden — the Tag wins.

Processors that pick their bone from the Avatar (Human Bone, Avatar IK Goal…) need neither, and show [No Target Needed].

If a processor's target cannot be resolved, the processor is skipped for that frame. Nothing breaks, nothing snaps — the animation just plays untouched. Press Verify to find out which one is missing.


Common properties

These exist on every processor.

Active

Enable or disable this single solver. Handy for isolating a problem without dismantling the Set.

Name

Free text. It is what Processor_SetEnable() matches against, and what the Console prints on Verify.

Tag

The IK Tag used to resolve the target from the Manager's Global Targets.

Weight

Multiplied by the Set's Final Weight. Use it to make one bone follow less than the rest of the Set.

Target Index

Slot in the Set's Targets array. -1 means no target. Hidden once a Tag is assigned.

Anim Parameter

Name of a float Animator parameter, multiplied into this processor's weight. Author the parameter as a curve inside the animation clip and the IK fades exactly with the animation. The small dropdown next to the field lists the float parameters found on the Animator.

Layer Index (Humanoid only)

Which Animator layer's IK pass drives this processor. 0 means every layer that has IK Pass on; set it to a layer index to restrict it to that layer.


Humanoid processors

Humanoid Avatars only. They run in OnAnimatorIK and go through Unity's Avatar IK.

IK GoalIK HintIK Goal OffsetIK Human Bone Offset (Rotation)IK Human Bone Rotation (LookAt)IK Body Look AtIK Goal RayCastIK Goal RayCast PlaneIK Goal Height PointIK Target DirectionSearch For TagFoot Ground Placement

Generic processors

These write bone rotations directly in LateUpdate, so they work on quadrupeds, creatures, props and any rig without a Humanoid Avatar. Their bone comes from the Tag or the Target Index.

IK Offset RotationLookAtIK Follow RotationRotate Around Aim HorizontalTwo Bone IKQuadruped Foot

Verify

The green Verify button in the processor list header runs every processor's self-check and prints one line per processor to the Console: missing bones, missing Tags, Target Indexes outside the array, Aimers that were never assigned, values too small to work.

Run it after retargeting a Set to a new character. It catches in one click what would otherwise be a silent no-op at runtime.


Writing your own

Processors are plain serializable classes — no asset, no menu item to register.

For Avatar-based IK, inherit IKProcessorOnAnimIK instead and override OnAnimatorIK(set, anim, index, weight) — it adds the Layer Index field and filters the call for you.

Other hooks worth knowing:

Method
When

Start

Once, when the Set is initialized — cache bones here

CacheValue

Every frame after animation, before IK — store the animated pose

OnEnable / OnDisable

With the IK Manager

OnAnimatorIK

Unity's IK pass

LateUpdate

After all animation

OnDrawGizmos / OnSceneGUI

Editor visualisation and handles

Verify

The Verify button

The class shows up in the + menu automatically, under the path given by AddTypeMenu.