Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Build an Apartment

Introduction

Explore an apartment in Virtual Reality using mobile devices.

Screenshot

Screenshot

The original project has been extended with the following functionalities:

  • added a spinning globe actioned by the Cardboard button or headet controller.
  • added a loading scene for presenting the title of the game: in the future this could be extended with instruction on how to use the game with the VR headset.
  • added an audio source for simulating the external sounds from the city.
  • added clock animation.

Getting Started

Build and Test

It's possible to test the project using Unity. If Unity is not available, an apk has been provided and can be deployed directly to an Android device. The project has been tested using both Google Cardboard and Oculus Go but the provided apk is targeting only Google Cardboard.

Using Unity

Scenes required (the order should be respected):

  • Build an Apartment\Assets\UdacityVR\Scenes\Loading.Unity
  • Build an Apartment\Assets\UdacityVR\Scenes\Build an Apartment.unity

Steps:

  • Unzip the zip file
  • Launch Unity (the project is targeting Unity 2017.4.15f1)
  • Open the project located under the folder “Build an apartment"
  • Open the scene "Build an apartment" to explore the hierarchy
  • VR mode has been set on the Android build platform in the Build settings
  • Use the menu “File->Build settings->Android->Build and Run” to run it on an Google Cardboard device. Replace the target if another platform (like Oculus Go) is required
  • Explore the scene in the headset

Deploy to the device

If needed, a build targeting Google Cardboard has already been provided compressed into the archive "Build.zip" and can be deployed to a device using the following command from an adb command prompt:

adb install “BuildAnApartment.apk”

Versions Used

Related Repositories

About

Explore an apartment using Virtual Reality

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages