void Start() { rb = GetComponent<Rigidbody>(); rb.centerOfMass = new Vector3(0.0f,-0.3f,0.7f); InitialPathPlan(); Debug.Log ("Initial Path Plan Done"); }