• Stars
    star
    329
  • Rank 127,445 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created about 4 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Hand Physics Toolkit

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.


A ready-to-go project is available 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

Documentation

Some documentation entries:

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 documentation 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