Vector3 dir = m_chooseTarget.transform.position - transform.position; dir.y = 0; transform.forward = dir.normalized;