jorgejgnz / HPTK

Hand Physics Toolkit
MIT License
330 stars 32 forks source link

Could you please integrate a VRTK 4 (Tilia/Zinnia) with your solution? #11

Open studentutu opened 3 years ago

studentutu commented 3 years ago

VRTK 4 (Tilia/Zinnia) - is the most cross platform framework that currently exists.

The one thing - it still lacks the package for hand interactions. You can still use the Provider SDK and Pose Inputs Actions for the actual input from the provider, and later apply it your VRTK rig.

Your package already includes the most powerful feature - PoseProvider with Physics extensions on top of it. Could you integrate this with VRTK 4?

jorgejgnz commented 2 years ago

Hi @studentutu, I cannot commit to officially integrating HPTK with VRTK because I will have little availability to expand HPTK over the next few months. I will be limited to mostly resolving doubts and providing technical support.

Anyway, I think the simplest approach to do this would be to create a component that interfaces between the VRTK's ControllerEvents component and an HPTK avatar. This component would be responsible for reading HPTK gestures and emitting controller events that VRTK can interpret. This approach is valid if VRTK actions are triggered only through this component (without other sources of controller input) but I don't know if this is really the case since I don't know VRTK that well.