How would you have an object Detect that you're looking at it? — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

How would you have an object Detect that you're looking at it?

VRfriend2016XVRfriend2016X Posts: 144
Hiro Protagonist
So that you can do actions to the object like grab it, toss it etc.
Like say a door knob.
if( Rift center of sight is looking stratight at me and user presses some button on the xbox controller)
       toggle lock or unlock door

****
But i want only the closest object to be affected, if there are object in the line of sight but are behind other objects that are in the line of sight, they shouldn't react to anything.


Best Answer

Sign In or Register to comment.