I’d like to wire “look at” code into my character. However, I’d want them to only look when in a particular state. My assumption would be that the behavior tree would be the best place to do this. I haven’t seen any examples online, though.
If anyone could provide a hint, suggestion or an example, I’d really appreciate it!
PS: I’m trying to hardwire this into the anim graph but I’m getting errors (getowningactor). I believe I’ve got a handle on what needs to happen. I’m really confused as to where its best (and possible) to put the code.