I have a NavMeshAgent NPC that walks correctly to its destination position. However, when it stops, it faces the walking direction, while I would like to have it turn to the same direction as the destination point, in the most natural way as my NPC is a human.
Is there a way to have the NPC, while walking to the destination point, also to set a destination rotation?
答案 0 :(得分:0)
您可以设置和空闲动画。 然后,您可以使用此动画触发功能查看
https://docs.unity3d.com/Manual/animeditor-AnimationEvents.html