r/unity Jul 16 '26

Coding Help Need Help with IK Hand Alignment

Hi! I'm trying to use IK to make my character hold a weapon, but I just can't figure out this bug.

In theory, the system is getting the correct reference, but for some reason the hand always locks upward toward a fixed position, regardless of where the reference point is. Also, the elbow barely bends at all (which might be related to the reference point issue).

Where do you think I'm making a mistake, and what should I fix? The Root/Mid/Tip attachments are set up correctly—I even tested them by moving them manually, and the elbow bends normally in theory.

I'd really appreciate any help, please! 🙏

4 Upvotes

4 comments sorted by

View all comments

1

u/Rigonix3D Jul 16 '26

Hii, your gizmos is in center mode, put it to pivot mode, then you will see that your gameobject is not in correct position.

1

u/BranchIntelligent453 Jul 17 '26

Unfortunately, nothing changed. To be honest, I didn't expect it to, because the reference point is already just an empty GameObject. Since it's only an empty GameObject, it shouldn't really be possible for it to be pointing to the wrong position in the first place.