XaiJu
CodeLikeMe
CodeLikeMe

patreon


NPC Character Gaze at Target

In the last episode of the rootmotion based locomotion series, I implemented a navigation that NPC character follows a given target actor while using rootmotion based locomotion animations. Today I am going to make that character keep looking at/ gaze at the target character. WHen he is on the move or standing still, it will maintain t\gaze at the target actor. If the target actor moves behind the NPC character, it will turn in-place. Here, to maintain the look at direction, NPC character will use an upperbody aim offset animation asset.

password=codelikeme_looknpc

NPC Character Gaze at Target

Comments

I didn't notice such a problem in my project. I need to check

Thilina Premasiri

When i implement this. The npcs can no longer path find correctly, even in your own source files. Do you know what the problem might be?

Cool.I would really like to look at the ALS v4 parkour system and so on.there are very few lessons on it.But it looks really cool!!!

Александр Кошелев


More Creators