Project 3: VR Mini Golf
Description:
VR Mini Golf brings you onto a 2-hole mini golf course. Putt the golf ball into the hole in serene wilderness, and then do it again on a frozen Antarctic lake. Developed in Unity for use with the HTC Vive through SteamVR.
Unity Version: 2018.2.17f1
Platform: PC (Windows)
Size: 766MB
Link to game:
https://github.com/flube2/VR-Mini-Golf or Latest Release
To Run:
- Download this game as a zip file from GitHub
- Unzip the zip file
- Navigate to /Builds/Windows
- Connect and power on your headset (if using one)
- Run the executable
Background
For our final project we had to implement either an Augmented Reality app or a Virtual Reality app.
Heather and I proposed the idea of VR Foosball (link is on the left "Project 3: Proposal") but could not fix the physics issues with the foosball rods due to time constraints. VR Foosball was not going to work so with time running out we decided to go we decided to go with VR Mini Golf. I then created the entire game in 2 nights. We tested it for the first time on the HTC Vive for a couple hours and fixed as many issues as we could but we could not fix them all (list of issues is below). Heather then did an excellent job with the documentation and updated her website. I intended to update this site with the same content, but waited too long, and she deleted her site.
Issues
Time. Without time constraints none of the below issues would exist.
Collisions between the golf club and the golf ball are strange. If you swing the club at a decent speed, the collision between the club and the ball doesn't register. So you have to swing slowly and gently.
Unity doesn't have cylindrical colliders as far as I can tell, so I used a spherical collider for the puck. This is why the puck tumbles end over end instead of sliding across the ice.
Sources
Models:
Putter (unused) - printable_models - https://free3d.com/3d-model/golf-club-putter-v01-sg--271408.html
Putter V01 (unused) - printable_models - https://free3d.com/3d-model/golf-club-putter-v01-sg--271408.html
Golf Ball - printable_models - https://free3d.com/3d-model/golf-ball-v1--411104.html
Hockey Stick - zaurian868 - https://free3d.com/3d-model/hockey-stick-18165.html
Hockey Puck - Frank Lubek
Bricks Around the Green - Frank Lubek
Green - Frank Lubek (holes made using Blender)
Snow Effect - Frank Lubek
Environment:
Skybox - http://www.farmpeeps.com/fp_skyboxes.html
10 Skybox pack - Wello Soft - https://assetstore.unity.com/packages/2d/textures-materials/sky/10-skyboxes-pack-day-night-32236
Mountains, Trees, Grass - Frank Lubek using Unity Standard Assets
Audio:
Bird Chirping Sounds - Alexander - http://www.orangefreesounds.com/free-birds-chirping-sound-effect/
Wind Blowing - Alexander - http://www.orangefreesounds.com/wind-blowing/
Golf Swing - https://www.freesoundeffects.com/free-sounds/golf-10105/
Hockey Stick Swing - https://www.freesoundeffects.com/free-sounds/hockey-10106/
Materials:
RGB for colors - rapidtables.com
Ice Materials - Indiechest - https://assetstore.unity.com/packages/2d/textures-materials/ice-materials-133660
All other colors and Materials - Frank Lubek