Download

AI Blueprinting - How do I make an NPC face a player character?

I am watching Ryan Laleys tutorials on Youtube and I wanted to know how I can create a task on the behaviour tree in which the NPC simply turns to face the player characters location? I’ve been having a lot of trouble with this at the moment.

I have already made the NPC stop within a certain distance after chasing the player character. Now I want the NPC to turn and face the player character, until the player character moves out of range.

There is a vector function called find look at rotation that would work. If you mean the rotation over time, there are some functions for that (one called Look At).

Simple task to make the NPC face the player:

](filedata/fetch?id=1795776&d=1596312970)