How to make a VR Gun in Unity

Опубликовано: 15 Март 2026
на канале: Master Indie Tutorials
546
16

We make a VR gun that shoots simple rigidbody spheres in rapid fire. This will be a bit of an introduction to C# and Unity game objects.

Previous Video, get VR Input:
   • How to Setup VR in Unity 2023  

Works with Valve Index, Meta Quest 2 linked to PC/SteamVR, HTC Vive, Windows Mixed Reality, PiMax, etc. Also works with Quest 2 standalone.

Check out my game that is available on Steam!
Jet Island
https://store.steampowered.com/app/58...

Main Channel:
Master Indie
   / @masterindievr  

0:00 - Code Overview
2:13 - Intro
5:05 - Scene Setup
7:24 - Gun
9:00 - Bullet
15:57 - Gun Code
23:38 - Bullet Destroy
25:09 - Final Setup
30:02 - Play Game
31:51 - Outro