Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Spoon1997's avatar
Spoon1997
Honored Guest
6 years ago

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

  • I 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!