alexvilch
8 years agoProtege
Add ray cast from the hand in Unity
Simple question: for Oculus Avatar SDK how do I add the ray coming from the hand ( left or right ) if I take Avatar SDK for Oculus Unity "Controllers" scene, just simple hands.
In order to interact with other objects I would need to add event systems and canvas found examples for those but unable to find a clear explanation how to add this to Avatar hands just want to cast the ray from the hand. I'm using the latest Avatar SDK and the latest Unity 2017.3.f1
Thank you,
Alex
In order to interact with other objects I would need to add event systems and canvas found examples for those but unable to find a clear explanation how to add this to Avatar hands just want to cast the ray from the hand. I'm using the latest Avatar SDK and the latest Unity 2017.3.f1
Thank you,
Alex
- Yes, I did. Just add vizualizer object with the ray and it started casting the ray from "active" hand: switching the trigger on the touch controller shifts the ray from one hand to another. None of the functions mentioned above working. You could copy it from this example:I could not figure out how to cast the ray from the index finger like in Dash home in my case its coming from the base of the hand: from my understanding this requires making changes to the Animation of the hands.Do not bother about those Transform functions and etc. it's simply not working.Alex