What is wrong with my IK setup
So, I'm trying to correct hands of my character so they always stick to the weapon. I tried to set up IK for this, but the result is still wrong and I cant figure out what I'm doing wrong?? I had checked several times that all socket names are correct..
IK origin - is my hand socket; IK target - is my weapon socket.
Currently I'm setting IK origin and IK target coordinates in "Event Tick" in my character blueprint -> than in my animation BP im getting out those variables and using them in IK part as effector and joint...
asked Feb 11 '16 at 10:39 AM in Blueprint Scripting
There's two things that looks a bit off in your screenshots for this to work.
Edit: Doing this should position the hand at your slot I think. For it all to look right you might need to also drive the orientation of the wrist joint, in case the rifle will be rotating around and stuff. Using something like a "Transform Bone" node and plugging in the orientation of the slot might do it.
Also just a note, I'm not sure why you're doing the setup this way, but depending on your needs it might have been simpler to just attach the the weapon to the hands rather than the other way around :)
Follow this question
Once you sign in you will be able to subscribe for any updates here