Код: Выделить всё
trasnform.LooAt(activePath.gameObject.transform);
Код: Выделить всё
var targetRotation = Quaternion.LookRotation(activePath.gameObject.transform.position - transform.position);
transform.rotation = Quaternion.Slerp(transform.rotation, targetRotation, Time.deltaTime);

Подробнее здесь: https://stackoverflow.com/questions/372 ... ent-object
Мобильная версия