Virtual Reality - Driving Experience project (updated 2019)
- 2 hours on-demand video
- 2 articles
- 16 downloadable resources
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Set a car in Unity 3D with sound and real physics
- Set different cameras and allow the player to switch between them
- Import an awesome race track with palms and lake
- Set a countdown timer to track your fastest laps
- Improve the project’s performance via Profiler Tab and FPS output
- Make your Unity project work on a Virtual Reality Headset
- Use a VR controller to control your race car
- Create a GIT and upload your project
- Configure and use Unity Cloud
- Download and run the project on your smartphone
- Practice a little for when you are on a real live race car
- All the steps are fully described on the lesson description
- You need Unity 3D installed, some basic knowledge is good but not required.
- You need a virtual reality headset Google's Cardboard style.
- A gamepad will be extremely useful (I am using VR PARK-V3)
Hello, my name is João Dessain Saraiva and besides working as a web developer one of my favourite hobbies is virtual reality. To stay updated with this technology I like to create content for Udemy and I am also a virtual reality technical advisor for a british VR company.
So I always wanted to drive a race car on a professional race track, and since I didn't have the chance to do it yet I decided to make a virtual reality project about it.We are going to build a race track in Unity 3D and import a car model, set 3 different player view perspectives and a countdown timer tracker to keep track of our driving skills.The project will be built on Unity Cloud and we will also apply some techniques to improve the overall performance, and yes for sure it will have virtual reality and gamepad support.
The lessons contents is fully described, and if you have any question don’t hesitate in posting it I’ll be here to help you out, let’s go!
Get to know more about our courses at hackademy.tech
- Anyone with basic Unity 3D knowledge
- Students what want to learn about Virtual Reality or improve their knowledge
Hey, thank you so much for betting this course! It’s my third here on Udemy and it’s being great to make this projects and share it with you. Hope you have fun building your virtual reality race track, and don’t forget to share your projects with the rest of the group I’ll be here to help you out if you need to.
You will learn:
Set a car in Unity 3D with sound and real physics
Set different cameras and allow the player to switch between them
Import an awesome race track with palms and a lake
Set a countdown timer to track your fastest laps
Improve the project’s performance via Profiler Tab and FPS output
Make your Unity project work on a Virtual Reality Headset
Use a VR controller to control your race car
Create a GIT and upload your project
Compile your project on the Unity Cloud platform
Download and run the project on your smartphone
Practice a little for when you are on a real live race car
What we are going to do
We are going to create a Unity project and start by setting our car controller, to start we want to make it work on a desktop version. After that we will import the race track and set a countdown timer is also important so we keep track of our driving skills. When we are happy with our scene and car controller we will adapt our project to a virtual reality headset, I am using a VR PARK-3 and it’s controller it’s best if you have one like mine however if you get into troubles post about it so can figure out the correct configuration for you. Unity has a service called Unity Cloud and it can be really useful to compile our projects, we are going to set our project and use this awesome feature to compile this project, you can certainly use this in your future Unity projects.
What you need to know and have
This is one of my courses that has less code, however to complete this it’s important that you have a smartphone and a virtual reality headset to try the project unless you just want to use it on your screen or export it to a smartphone later on.
I am using an Android cell phone, however the project should run fine in other devices such as Iphones because Unity allows to export our projects to many other formats.
Start Unity and create a new project, mine is already created and opened so we don’t have to wait for it to load, let’s start with the terrain GameObject -> 3d Object -> Terrain, we want it to be big so select it click on the gear and will set it to 5000 5000, notice that this unity is metrics this is duo the fact that the company that develops Unity originally started in Denmark however their headquarters are now at San Francisco, US.
Import the environment package so we can have some ground textures among other objects, we will go to the brush icon and Edit Texture and set the grass hill albedo texture,
Also add some random objects to your scenario, this way when the car moves you can have a better perception of where and how it’s going, painting the terrain is also a good idea.
You will receive an e-mail when the compilation is done, or you can always leave this page open and wait for it to finish, the more consecutive compilations you make the bigger the waiting time will be, also Unity Cloud will detect when a new GIT commit is made and will start compiling the new files automatically.
Once the compilation is done (if successful) download the APK and email it to an account that you have on your smartphone, you can also login to Unity Cloud on your mobile and download it directly however I find it it be slower.
Once you got the APK on your cell phone ( you need to enable untrusted sources ) install it and see how your awesome work goes on your cellphone.
Unity cloud is good if you are building big projects or your computer doesn’t have much hardware power, however you can always go to Files > Build Settings > Build and Run to build the project and deploy directly to your cell phone.
If you arrived here you must have your car racing inside your virtual reality headset!
Your review is really important to help me make better courses, because Udemy is not just about making money but also to improve our knowledge as instructors by practicing and learning from you, if you had any problem during the lessons drop me a line and I’ll be glad to help out. Thanks and xau!