unity face the way you move code example Example: unity face direction of movement transform.rotation = Quaternion.LookRotation(dir);