![]() ![]() Before we do that though we need to consider how they are going to move around. Now the our scene is setup we can add our zombies. Now copy and paste this plane 4 times and position them as shown in the second image above. Right click in the hierarchy again and add a light, point light, and position it over top of our plane. This adds not only a texture to our plane, but a normal map so Unity's lighting system knows how to reflect light off of our plane, giving the illusion of depth. Right click in the hierarchy (off to the left, where the light was) and create a 3d object, plane.ĭrag the silver texture from the game assets folder onto the plane and off to the right where it says normal map choose the floor normal map. Go to file, build settings, and switch the build platform to either Android or IOS.ĭelete the directional light from the scene. Once you have everything downloaded from the intro, create a new Unity project, and call it whatever you want.ĭrag in the GoogleVR Unity package, the game assets folder, and the gun 3d model into the assets folder. NOTE*****When installing Unity make sure to install the Android or IOS modules depending on what you need. You will also need the GoogleVR SDK for Unity from here: I will only be able to touch on a lot of the major concepts, so if you want to learn anything more in depth I suggest you do your own research on all the different pieces.Īll the code and game assets can be downloaded here. I know I learn best through doing projects that I am excited about, thats why I created this tutorial. The best part is, all the software we need to create this game is available for free. The virtual reality game we will be making is a first person zombie shooter. This will not require any previous experience with VR development or Unity 3D so I will try to make all the instructions as clear and beginner friendly as possible. This game will work for IOS and Android so it will run with traditional Google Cardboard headsets as well as the new Daydream VR headset. This Tutorial will walk you through making your first virtual reality app with the Unity 3D video game engine and the GoogleVR plugin.
0 Comments
Leave a Reply. |