I need to track user's hands in Unity. I have integrated the Unity Plugin. I have imported the Ghost Hands prefab and my hands are being successfully tracked. I am also able to interact with objects using the Interaction engine package.
My questions are:
1. I need the values of my hand position after a call a particular function, till the time I call another function. How do I get the coordinates of my hand (specifically my index finger) through a C# script?
2. How do I detect that my hand (or index finger) has collided with another particular game object? I have already added rigid body component and collider component to the game object. Basically, I want to execute a block of code if the my Index Finger collides with "Cube" Game Object. I have tried using the function OnTriggerEnter, but it isn't working for the hands.
Can anyone help me out here? Thanks!