Made my own first IK solver for VR hands
Posted Mar 19, 2020, 10:52 PM UTC
Posted Mar 19, 2020, 10:52 PM UTC
Using Alan's great tutorial here: https://www.alanzucconi.com/2017/04/10/robotic-arms/ I was able to build a generic hand rig, and an IK solver, in Unity. Not perfect, but it's going to save a lot of time vs hand-animating dozens of different hand meshes.
Background: Most of the "VR Hands" sold on the asset store are missing the animations needed for the current gen VR headsets (most of them don't have any VR-specific animations, they just have generic gesture anims, which is fair enough). I'm learning the new Unity XR Interaction Toolkit system (write once, deploy to any VR headset), and thought it would be cool to integrate lots of different virtual hands and let players swap in/out any they wanted.
So ... I took Alan's tutorial and:
The beauty of this is it works well even for non-standard hands, like the alien hand with only 3 fingers. Next step is to add multi-directional joints, so that I can get the thumb doing IK for the joystick and top buttons.
dude... nails!