Camera Follow Script

Hi, I have this script:

sing UnityEngine;
using System.Collections;

public class CameraScript : MonoBehaviour {

	public Transform target;
	public float distance = 10.0f;
	public float height = 3.0f;
	public float heightDamping = 2.0f;
	public float rotationDamping = 3.0f;
	
	void LateUpdate () {
		if (!target)
			return;
		
		Debug.Log(distance.ToString());
		float wantedRotationAngle = target.eulerAngles.y;
 		float wantedHeight = target.position.y + height;
 
		float currentRotationAngle = transform.eulerAngles.y;
 		float currentHeight = transform.position.y;
 
		currentRotationAngle = Mathf.LerpAngle (currentRotationAngle, wantedRotationAngle, rotationDamping * Time.deltaTime);
 		
		currentHeight = Mathf.Lerp (currentHeight, wantedHeight, heightDamping * Time.deltaTime);
		
		Quaternion currentRotation = Quaternion.Euler (0, currentRotationAngle, 0);
						
		transform.position = target.position;
		transform.position -= currentRotation * Vector3.forward * distance;
		Vector3 temp = transform.position;
		temp.y = currentHeight; 
		transform.position = temp;
		 	
		transform.LookAt (target);
	}
}

but the camera show the caracter too low, I need a vision like second life game, more height camera and closer to caracter. !!
the first picture is Second life camera, and the second is my camera.

[Second Life Camera][1]

11091-visao1.png

What Can I do?

Thanks
[1]: http://www.248am.com/images/secondlife.jpg

Simply modify the height and distance float variables to your liking, it’ll take a little while.

  1. Create an Empty Game Object and give it a meaningful name like “CamTarget”
  2. Make it a child of the object you want to target
  3. Drag it into the target property in the script inspector
  4. Press Play and adjust the Transform settings on the CamTarget until your happy
  5. Copy the transform component and paste the values after you stop