I have an NPC that uses the behaviour tree, it has very basic tasks like find path point, face to path point, go to path point, wait, face to next path point, go there etc… it loops over and over
When it stops at the path point, I have made it rotate slowly towards the next one.
My issue is that I don’t know how to play the “rotate 90 degree in place” animation that I’ve made for my character when it is rotating in place to face the next path point.
Is there something I need to create in the state machines? Or in a blendspace? I think I’ve almost figured something out in the state machines, where it enters a transition, but I don’t know how to get “if npc is rotating then play animation” condition.