Get AI current direction?
Hey, fairly new with Unreal here; I'm making a 2D NPC that moves "ping/ponging" throughout 3 control points using InterpToMovement.
I'm able to change my controllable character animation through inputs responses, but I can't make the NPC change his animation because there is no input.
Q: Is there a node/way to get the NPC current location/direction? So that way, for example, if he is moving down in the Z axis, then its shifts to "MoveDown" flipbook?
Thanks, hope I communicated well :)
asked Sep 18 '18 at 11:38 PM in Blueprint Scripting
If I understood right maybe you are looking for this node? If yes then connect the AI to the target and you can get the x,y,z values depending on if you need location or rotation.
answered Sep 19 '18 at 12:54 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here