Week 5: Virtual reality Introduction

IDEA


We started our work with looking for ideas for our VR project. After watching a few videos on YouTube and downloading and playing some demos to get inspiration, we decided we would like something that will make us move and will be 100% involved. Initial idea was the game with objects moving fast towards the player. The player should move in a way to avoid being hit by the moving object. After considering all pros and cons, we realized that if we go with this idea, we wouldn’t really use the controllers. That is why we decided to change “escaping” from the objects into hitting them.

The final decision was to create a game with principals of “Beat Saber”. The player is keeping red and blue sabers and needs to hit the moving red and blue cubes that are positioned in different angles. The red objects should be hit with red saber in the right direction and the same goes to the blue.


SETTING UP UNITY AND OCULUS SET


After choosing the idea we started to set up OCULUS device. We used already existing account, but developer mode was off, and we could not switch it on. That is why we needed to reset factory settings to have developer mode on. To do that we needed to set up our own user account and developer account in the phone.

To enable the device for development we connected it with the USB cable to the computer and we allowed the access.

Next step was importing the oculus integration package from assets store to get core VR features, components, scripts, and plugins to ease and enhance the Oculus app development process in Unity.

We created our Unity project and configured build settings where platform needed to be changed into Android and Texture compression set to ASCT. In project settings we set minimum API level to Android version 6.0 API level 24. To enable VIRTUAL REALITY support we installed XR plugin Management. After that we installed OCULUS XR plugin for Android.

After we played around with the headset and tried to connect it to unity with a simple project, we saw that unity became way slower after adding the VR dependency so we decided that, next week, we will create a new project and start by creating the scene and when the scene is almost ready, we will add the VR stuff.

Comments

Popular posts from this blog

Week 4: Markerless Implementation and Finalisation

Week 3: AR Final Result

Week 10: Project finalization