Skip to content

This Code Does This

  • General Unity Development
  • Unity Scripting
  • Privacy Policy
  • Contact Us
  • About
This Code Does This

LookAt

Unity Scripting

Make an Enemy Look At the Player in Unity

ByAlexK November 4, 2021September 22, 2023

Sometimes we have dynamic enemies or obstacles in a game and want them to interact with a player. How do we make an enemy look at the player in Unity? Really, how do we make one game object look at another game object? Use the LookAt(Transform target) function to point a game object in the…

Read More Make an Enemy Look At the Player in UnityContinue

© 2025 This Code Does This - WordPress Theme by Kadence WP

  • General Unity Development
  • Unity Scripting
  • Privacy Policy
  • Contact Us
  • About