camera position

I already had my camera on a top-down position. I wanna change it position to be something like the camera view of warcraft. Can you give me some codes on how to do this?
here is my code as of the moment:

//attach a top down camera

var fixedPositionObject : Transform;

//y value of camera

var heightOfObject = 5;

function Update () {

//keep camera following player at specified height

fixedPositionObject.position = Vector3(

transform.position.x, 

heightOfObject, 

transform.position.z
);

}

Hey why don’t you use smoothfollow script that is already included with unity project. There you can also set height as you wish :slight_smile: