I want to use fingertip from hand tracking, for pressing in-game buttons, instead of raycast from smartphone controller.
But I don’t know how to make since I have little experience with NRSDK.
Which script does include code about the topic I’m interested?(specifically fingertip rigid body)
Also, I used this code for detecting collision with ray and it works with smartphone control, but it doesn’t work when I convert to the hand tracking mode.
Are they using different ray?
if (Physics.Raycast(new Ray(laserAnchor.transform.position, laserAnchor.transform.forward), out hitResult, layerMask))
{
if (hitResult.collider.gameObject != null && hitResult.collider.gameObject.GetComponent<Renderer>() != null)
{