Hand Ik

A StateMachineBehaviour that toggles hand IK and switches hand targets at precise moments during an animation. Integrates with any component implementing IHandIK.

Requires:

  • At least one IHandIK component on the Animator’s children or parent (e.g., FishingRod or custom IK handler).

🔧 Inspector Settings

Target IK State

  • Enable: Activates hand IK.

  • Disable: Deactivates hand IK.

Hand Target Switching

  • Right Hand Switch:

    • Don’t Switch (default)

    • Switch to Default

    • Switch to Handle

  • Left Hand Switch:

    • Don’t Switch (default)

    • Switch to Default

    • Switch to Reel Pose

Activation Triggers

  • Execute on State Enter: Applies IK/targets immediately when animation starts.

  • Execute on State Exit: Applies IK/targets when animation ends (skips self-transitions).

  • Execute on State Update: Fires at a specific animation time.

    • Activation Time (0 – 1): When during the animation to trigger (only visible if Execute on State Update is enabled).

📈 Key Behavior

This is used in conjuntion with Malbers IK system to have fine control ever when we want hand IK to be enabled or disable, it has controls for both left and right hand individually.

💡 Notes

  • Designed for fishing-specific poses: e.g., enable IK when reeling, switch right hand to rod handle, left to reel grip.

  • Activation Time uses normalized time, so it’s frame-rate and speed-independent.

  • RodIK implements IHandIK.

Last updated