Forum Discussion
VRfriend2016X
10 years agoProtege
How would you have an object Detect that you're looking at it?
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.
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.
- Use colliders on the interactive objects and do a ray cast from the head.
1 Reply
Replies have been turned off for this discussion
- CorvusVRProtegeUse colliders on the interactive objects and do a ray cast from the head.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 4 years ago
- 3 years ago