Now we will going to learn about virtual reality. Virtual reality or virtual realities (VR), also known as immersive multimedia or computer-simulated reality, is a computer technology that replicates an environment, real or imagined, and simulates a user’s physical presence and environment in a way that allows the user to interact with it. Virtual realities artificially create sensory experience, which can include sight, touch, hearing, and smell.
We can experience virtual reality with google VR cardboard. We can get this easily by the website.
My smartphone size is iphone6, so I got small one. If you use iphone6+ or Android phone that is bigger, than you should choose big one.
You can assemble this cardboard yourself like this.
And download ‘Cardboard’, ‘NYT VR’ application. These two apps are really good to experience ‘VR’.
You can just open your app and put your smartphone inside the google cardboard.
It was really amazing. You can look around 360-degree. You can fly, you can do fishing, you can put some plants in the ground. When you play with this cardboard, you can experience time warp also. It was really amazing.
Now go back to our real world, let’s make our own VR world with unity, and bring it to our cardboard.
First, you should download cardboard sdk / demo file. Import package to your unity.
And go to the build setting. Change its platform to iOS.
And click Player Settings.
You should uncheck Portrait, Portrait Upside Down, Landscape Right.
And go to Other Settings.
You have to choose target device iPhone Only.
Than you can click build and save it.
You’ll see this screen after it saved. Just double click Xcode file.
Make sure you have most recent version of Xcode and iOS. If not, you’ll have an error.
If you got this error box, you should update your Xcode.
I have lots of error, but it’s okay. Connect with your smartphone, than you’ll have your own VR app to your phone!