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
Thilina Premasiri
2021-02-07 14:32:26 +0000 UTCАлександр Кошелев
2021-01-28 23:59:17 +0000 UTC