Scripts/aim 2.js(19,41): BCE0017: The best overload for the method ‘UnityEngine.Vector3.Lerp(UnityEngine.Vector3, UnityEngine.Vector3, float)’ is not compatible with the argument list ‘(UnityEngine.Quaternion, UnityEngine.Vector3, float)’.

Scripts/aim 2.js(19,41): BCE0022: Cannot convert ‘UnityEngine.Vector3’ to ‘UnityEngine.Quaternion’.

Scripts/aim 2.js(25,41): BCE0017: The best overload for the method ‘UnityEngine.Vector3.Lerp(UnityEngine.Vector3, UnityEngine.Vector3, float)’ is not compatible with the argument list ‘(UnityEngine.Quaternion, UnityEngine.Vector3, float)’.

Scripts/aim 2.js(25,41): BCE0022: Cannot convert ‘UnityEngine.Vector3’ to ‘UnityEngine.Quaternion’.

Can anyone fix these errors?

```
#pragma strict
var HipPose : Vector3;
var AimPose : Vector3;
var HipRot : Vector3;
var AimRot : Vector3;
var AimSpeed = 0.5;
function Start ()
{
transform.localPosition = HipPose;
}
function Update () {
if(Input.GetButton("Fire2"))
{
transform.localPosition = Vector3.Lerp(transform.localPosition, AimPose, AimSpeed * Time.deltaTime);
transform.localRotation = Vector3.Lerp(transform.localRotation, AimRot, AimSpeed * Time.deltaTime);
}
if(!Input.GetButton("Fire2"))
{
transform.localPosition = Vector3.Lerp(transform.localPosition, HipPose, AimSpeed * Time.deltaTime);
transform.localRotation = Vector3.Lerp(transform.localRotation, HipRot, AimSpeed * Time.deltaTime);
}
}
```