Skip to content

2kah/HPTK

 
 

Repository files navigation

logo
License: MIT version


Hand Physics Toolkit (HPTK) is a toolkit to implement hand-driven interactions in a modular and scalable way. Platform-independent. Input-independent. Scale-independent. Can be combined with MRTK-Quest for UI interactions.


You can clone a ready-to-go project at HPTK-Sample.

sample

Main features

  • Data model to access parts, components or calculated values with very little code
  • Code architecture based on MVC-like modules. Support to custom modules
  • Platform-independent. Tested on VR/AR/non-XR applications
  • Input-independent. Use hand tracking or controllers
  • Pupettering for any avatar or body structure
  • Scale-independent. Valid for any hand size
  • Realistic configurable hand physics
  • Define strategies to deal with tracking loss
  • Physics-based hover/touch/grab detection
  • Tracking noise smoothing

Supported versions

  • Unity 2020.x
  • Unity 2019.x

Supported input

Hand tracking

  • Oculus Quest 1/2 - Android
  • Leap Motion - Standalone
  • Hololens 2 - UWP

Controllers

  • Oculus Touch
  • WMR
  • Vive
  • OpenVR

Supported render pipelines

  • Universal Render Pipeline (URP)
  • Standard RP

Getting started with HPTK (Oculus Quest)

  1. Obtain HPTK
  2. Change ProjectSettings & BuildSettings
  3. Import the built-in integration packge (if needed)
  4. Drag & drop the default setup to your scene
  5. Build and test

Check Wiki for a detailed step-by-step guide.

Author

Jorge Juan González - HCI Researcher at I3A (University of Castilla-La Mancha)

LinkedIn - Twitter - GitHub

Acknowledgements

Oxters Wyzgowski - GitHub - Twitter

Michael Stevenson - GitHub

Nasim, K, Kim, YJ. Physics-based assistive grasping for robust object manipulation in virtual reality. Comput Anim Virtual Worlds. 2018; 29:e1820. https://doi.org/10.1002/cav.1820

Linn, Allison. Talking with your hands: How Microsoft researchers are moving beyond keyboard and mouse. The AI Blog. Microsoft. 2016 https://blogs.microsoft.com/

License

MIT

About

Hand Physics Toolkit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%