Skip to content

alexp66/UltraleapWristShoulderRaycast_ForMetaSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Basic modification of Ultraleap's wrist tracking by Ultraleap/Pip Turner for use with Meta Quest SDK

Original source code: https://github.com/ultraleap/UnityPlugin/blob/develop/Packages/Tracking%20Preview/HandRays/Runtime/Scripts/HandRays/WristShoulderHandRay.cs

Blog post explaining: https://docs.ultraleap.com/ultralab/far-field-ray-blog.html

How to use:

  • Add "Raycast" prefab into hierachy. Populate Right Hand and/or Left Hand with the OVRHands from your OVRRig setup. Do the same with palms (see tooltips for nomenclature).
  • Use a target layer to filter raycast hits
  • Can use method "ObjectHit()" to handle hits
  • NOTE Recommend changing "HandJointId.HandIndex0" to "HandJointId.HandIndex1" in the method "CalculatePinchPosition()" in the main script for truer pinch point accuracy.

About

Modification of Ultraleap's wrist tracking by Ultraleap/Pip Turner for use with Meta Quest SDK

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published