We will create a script that rotates a game object so it aims or looks at another game object in Unity.
Let your turret auto aim towards a target.
Let a character rotate towards another character or object so it can move in the right direction.
Want to do this in a 2D project? Check this out.
• Rotate or Aim Towards Mouse or Object in 2...
Please like and subscribe if you want more tutorials.
Also all feedback is welcome.