
For my graduation project at the NHTV I added virtual reality support to an existing school project. To make the game more immersive and more fun in VR, I built a custom controller for it using an Arduino Nano and some MDF sheets. I used an Oculus DK2 as a head mounted display and Razer Hydra controllers for motion tracking. The custom gun controller connects to a PC using Bluetooth, and contains a rechargable battery for power. The Razer Hydra connects to a PC with a wire, but the custom controller was made so that the Hydra controller could easily be replaced by an HTC Vive controller to make the custom controller completely wireless.
The game’s logic was implemented in Blueprint, and communications with the Arduino inside of the custom controller are handled by C++ code.
The vast majority of the Blueprint code was written by me, and I wrote all of the C++ code.
View the original blueprints for the gun controller.
