error CS1503: Argument `#2' cannot convert `object' expression to type `UnityEngine.Vector3'
<pre><code>using UnityEngine;
using System.Collections;

public class Tree : MonoBehaviour {

public int Health = 5;
public Transform logs;
public Transform coconut;
public GameObject tree;

public Camera myCamera;

public int speed = 8;

void Start () {
    tree = this.gameObject;
    GetComponent &lt;Rigidbody&gt;().isKinematic = true;
    myCamera = GameObject.FindObjectOfType&lt;Camera&gt;();
}

// Update is called once per frame
void Update () {
    if(Health &gt; 0)
    {
        if(Vector3.Distance(transform.position, myCamera.transform.root.transform.position) &lt; 10f)
        {
            if(Input.GetKeyDown(KeyCode.R) &amp;&amp; WeaponSwitching.check == true)
            {
                Ray ray = new Ray(myCamera.transform.position,myCamera.transform.forward);
                RaycastHit hit;
                if(Physics.Raycast(ray,out hit,10f))
                {
                    if(hit.collider.gameObject == gameObject)
                    {
                        --Health;
                    }
                }
            }
        }
    }

     if(Health &lt;= 0)
    {
        GetComponent &lt;Rigidbody&gt;().isKinematic = false;
        GetComponent &lt;Rigidbody&gt;().AddForce(transform.forward * speed);
        DestroyTree();
    }
}

void DestroyTree()
{

    wait ();

Destroy(tree);

Vector3 position = Vector3(Random.Range(-1.0, 1.0), 0, Random.Range(-1.0, 1.0));
Instantiate(logs, tree.transform.position + Vector3(0,0,0) + position, Quaternion.identity);
Instantiate(logs, tree.transform.position + Vector3(2,2,0) + position, Quaternion.identity);
Instantiate(logs, tree.transform.position + Vector3(5,5,0) + position, Quaternion.identity);

Instantiate(coconut, tree.transform.position + Vector3(0,0,0) + position, Quaternion.identity);
Instantiate(coconut, tree.transform.position + Vector3(2,2,0) + position, Quaternion.identity);
Instantiate(coconut, tree.transform.position + Vector3(5,5,0) + position, Quaternion.identity);
}

IEnumerator wait()
{
    yield return  new WaitForSeconds (7.0f);
}
}
</code></pre>

<p>it is showing that object cannot be converted to UnityEngine.Vector3. how can i convert object to Vector3 type. the error is shown in the <strong><em>INSTANTIATE</em></strong> function. it is saying tree.transform.position + Vector3(0,0,0) + position is an object type. how can i fix this error?</p>