Dynamic Npc Look At

Hey Devforum, I just have a quick question if anyone got like a starting point on how to make a system like shown in the video. (I mainly mean the turning around to look at the player)

That’s all, thanks!

Just check whether the difference between the angle which the npc is looking at currently and the angle you are from the npc is bigger than 45 degrees for example. If it is, make the npc turn.

1 Like