I've added a sawed-off double-barrel shotgun to the game. Using the same gun system, I made the logic and function of the gun very fast. I spent maybe an hour making the model, but the largest time consumer was changing the hand position. Before I had just eyed where your hands should be relative to the controller, but this causing problems when I would hold the new shotgun with two hands. To fix this I nicked the hand positioning from a VR Example Project (
https://github.com/ValemVR/VR-Game-Jam-Template)
Double Barrel Shotgun Features:
- Single Loading the Barrel.
- Open and Closing Barrel with Matching Barrel Release.
- Flicking the Barrel Close.
- Two Barrel Components That Are Set and Match up to the Two Triggers
(including the finger on the trigger).
- Lower Recoil When Two Handing the Gun.
I also added a two handed functionality to the revolver, that doesn't directly connect the gun to the other hand (only visually) but also decreases the recoil.