Forum Discussion
Spoon1997
6 years agoHonored Guest
OVR Grabbable Snap to hand (i.e. a gun) - Unity
Ive spent way longer than i thought i would on this, like days...
So id like to use the grabing scripts to grab a gun model and have it snap to my hand in the correct rotation.
So far ive tried setting the position and rotation to a GameObject, ive tried placing the GameObject in several places, either a parent of the gun itsself or at 0,0,0 in the world and it allows me to grab it but it snaps to a weird position and its never the same position its always a random angle and in the center of the gun model, ive serched tens and tens of forums and youtube videos for a solution but none of the suggestions work,
any help would be greatly aprteciated, please and thanks!
1 Reply
- buck_schroeterHonored GuestI cant post links on here but I am assuming youve stumbled across/tried
Valem's youtube tutorial on how to make a VR game in Unity. In the 3rd episode out of the 5 it goes over specifically what you are referencing, let me know if you run into specific issues going through that!
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
- 10 months ago