how to make object face in direction of movement code example Example: unity face direction of movement transform.rotation = Quaternion.LookRotation(dir);