Hey Everyone,
I’m trying to create an enemy AI which sees the player, and reacts by chasing after him. But instead of walking or running, I want the enemy to jump or leap after the player. I already have player detection set up using PawnSense for both visual and auditory. But I can’t figure out how to replace walking with leaping.
I’ve tried setting up Get Velocity > Vector Length, but I don’t really know how I would even activate this.
What I’ve attempted to do is to set a variable called “IsMoving” when the AI moves, then using this in conjunction with a custom event to trigger Get Velocity > Vector Length > greater than 0 > jump (along with varying combinations of stop moving) and I can’t get it working.
Any help would be appreciate.