How do you make gravity for the First Person Controller

I made a First Person Controller,that was set to a height to drop from. Instead of falling the character stayed in the air at the height. It wouldn't go up or down when coming to hills. How do I create a gravity field for this character?

You need to add a Rigidbody Component to your GameObject:

Select your First Person Controller GameObject from the Hierarchy.

In the Menubar go to Component->Physics->Rigidbody

use this script on this site for basic player movement. click here to go to the site.

hope this helps with your player's movement.

well instead of a rigidbody i would put a CharacterController on your player.

its right next to the rigidbody. Component->Phisics->CharacterController

but there should be a first person controller prefab already Pre-Put into unity. just search it in the project bar.