How to move an object along with a VR Camera
Hi, I'm trying to make a system that allows players to grab and holster a gun or a weapon of some sort, which the gun would then follow the camera's movement and rotations so that it can always be seen by the player, so that they can easily reach and grab the weapon whenever they want to, similar to the holster systems of Pavlov VR or Onward VR. I got the object to follow the camera, but there's one issue, whenever I rotate my head or use the analog sticks to rotate the camera, the gun stays in place, so if, say, I turn right and my gun was initially holstered on the right side of my body/camera, the gun stays in place and is now on my left side. How can I make it so the gun rotates along with the camera?
Your answer
Follow this Question
Related Questions
Xcode clang error 1 Answer
android camera rotation using gyro sensor 1 Answer
VR - POUR WATER INTO A FLASK/GLASS/BEAKER 1 Answer
Generic UI interaction for VR 0 Answers
How can I track the turn on of HTC VIVE controllers in Stem VR? 0 Answers