Hey all,
Quick question from a new Unity user. I’m creating a basic space strategy game in a 3D enviroment but limiting movement to a 2D plane.
My problem is I want the ships to rotate to face the direction of a NavMesh path before following it. I’ve had a couple unsucessful attempts and was wondering if anyone could provide a method of doing it correctly?
Thanks in advance
Well… you can before setting the destination use LookAt() or use Mathf.Lerp on every rotation vector to face the target.