How to create a Terrain and how to make a first person controller walk through it?
Please answer me asap.Thanks.
Create a project with File/New Project… and check the items Character Controller and Terrain Assets. This will open an empty scene: create the terrain with Terrain/Create Terrain, then click the brush button in the Terrain component at the Inspector. Click Edit Textures…, Add Texture and select a texture in the Splat item - the terrain will be painted with this texture.
Once you have the terrain, drag a First Person Controller to the scene (Project window, Standard Assets/Character Controllers/First Person Controller). Sometimes it’s placed too low, and will fall when you press Play; to avoid this, right after placing the FPS in the scene change its Y coordinate (Inspector, Transform/Position) to 2 or higher.
Finally, delete the Main Camera object in the Hierarchy panel - the FPS has its own camera - and press the Play button to take a walk with your character.