Can you just run me through how you would set this up? so it works? perhaps a short video or something? Iv been trying this for ages - surely there are other that need to know how to pickup object in VR as well with animations of hands.
- I duplicated the hand_R and placed it in position on the sword and then set that hand as a child of the sword, and gave it a hand pose script. I also had a hand gameobject with the normal setting of the hand which also has a handpose script. the actual hand in the root of the rig then has a handTarget script. and then I get this weird forarm behaviour
twist relaxer didnt work
- Ok setting the weight on the handtarget to something low stops the forarm stuff, now to find out how to rotate the hand correctly. all it takes the is the position of the fingers into account and their respective rotations
- I cannot get the wrist to rotate the hand into position. It will lerp the fingers and entire hand into its position but it will not rotate the wrist in order to place it correctly on the hilt.
Having issues now with the wrist going crazy, currently im trying to make the hand attach to the swords hilt and then exchange the hand as the VRIK right arm target with the sword itself. so the hand will stay on the hilt no mater what I do with the sword. as it is following the rigidbody and I dont want the hand moving once its holding the sword.
Everything seems to work well when letting go of the sword but picking it up resets the wrist to something weird and I dont know why.
here is a link to a gif I posted illustrating the problem.
I pretty sure the problem is that I attach the sword towhere my hand is supposed to be and then the hand is in the way and therefore gets pushed aside. What I dont know is how to fix it. All I want is for the hand to stay in the animation on the hilt.