Forum Discussion
I-love-ece
6 years agoHonored Guest
How to grab game objects using laser pointer ?
I used the method introduced in this blog "Easy Controller Selection" (https://developer.oculus.com/blog/easy-controller-selection/).
Basically I attached a line render to the controller model, and I am able to use it to select objects by pressing buttons.
I wonder if I am able to grab game objects in the same way. I used to use Windows Mixed Reality to develop games, and they have native support of laser pointer. So I am able to use the laser pointer to select and grab gameobjects simply by attaching grabbable scripts.
I know how to grab objects with OVR Avatar by attaching OVR Grabbable script, but I want to know if I can do the same thing without actually grab it with my hands.
TL;DR
I want to use the laser pointer to grab object as dragging it towards or away from me.
Basically I attached a line render to the controller model, and I am able to use it to select objects by pressing buttons.
I wonder if I am able to grab game objects in the same way. I used to use Windows Mixed Reality to develop games, and they have native support of laser pointer. So I am able to use the laser pointer to select and grab gameobjects simply by attaching grabbable scripts.
I know how to grab objects with OVR Avatar by attaching OVR Grabbable script, but I want to know if I can do the same thing without actually grab it with my hands.
TL;DR
I want to use the laser pointer to grab object as dragging it towards or away from me.
1 Reply
Replies have been turned off for this discussion
- AnansipelliHonored GuestAny update on this?
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
- 1 year ago
- 3 years ago