Creating our player
To begin with, let's add in our player so we can see what the world itself looks like. Thankfully, Unity has created some of these behaviors for us that are included in the engine.
Open up our Exterior level if it isn't open already and to make it easier to see, go to the Lighting tab and in the Scene section uncheck the Fog property.
Next, go to Assets | Import Package | Characters. This will open up a window with a lot of different assets included. In this case, we will not need the
PhysicsMaterials
andCharacters
folder aside from theFirstPersonCharacter
so uncheck them. Closing all the folders should show something similar to this:Once finished selecting the correct actions, click on the Import button and wait for everything to be imported.
Once imported, move to the Project tab and open up the
Standard Assets/Characters/FirstPersonCharacter/Prefabs
folder. From there, drag and drop theFPSController
object into our scene.Double-click on the object to zoom into it...