〰️Rod IK
Implements IHandIK to control hand IK targets for the fishing rod. Toggles IK on/off and switches hand positions between default, handle, and reel poses.
✅ Requires:
Malbers’
TransformHookcomponents for right and left hands.A
BoolReference(e.g., Animator bool parameter) to drive IK activation.
🔧 Inspector Settings

Use IK
BoolReferencethat enables/disables the use of IK
Right Hand
Right Hand Transform Hook: Malbers
TransformHookthat sets the right hand’s IK target.Right Hand Default Pos: Default position for the right hand when not gripping the handle.
Right Hand Handler Pos: Position when gripping the rod handle.
Left Hand
Left Hand Transform Hook: Malbers
TransformHookfor the left hand’s IK target.Left Hand Default Pos: Neutral position.
Left Hand Reel Pos: Position when operating the reel.
📈 Key Behavior
IK Control
OnToggleHandIK(bool): Sets_useIK.Valueto enable/disable IK globally.EnableIK()/DisableIK(): Public helpers that do the same.
Hand Switching
SwitchRightHand(): Swaps right hand target between Default and Handle.SwitchLeftHand(): Swaps left hand target between Default and Reel Pose.After switching, calls
UpdateHook()to immediately apply the new target.
Integration
Designed to work with
HandIK_BehaviourUses Malbers’
TransformHooksystem for IK target assignment.
Last updated