AI: Move randomly and move away from player

Hey guys,

So I’ve been thinking on how to move AI randomly, but I’m kind of stuck.
I’ve got this huge open world, and I need rabbits randomly moving around… Also when the rabbit sees or hears the player, it needs to move away from it.

So the goal is basically

  • Rabbit moves randomly
  • if player has been seen/heard, rabbit moves in other direction
  • Rabbit can hide in rabbit holes*

Now the thing is, I don’t know how to approach this. Should I just try to write this in a Blueprint or use the Blackboard thing in UE? I need a few hints / examples on this one…

Is this the best approach for me?: A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums
Edit: The problem with this example is that they use a NavMeshBoundsVolume, but since I have a huge world where the AI can walk, wouldn’t this navmesh be way too big?


I have some idea about a randomly moved rabbit with AI, but can not implement in IE4
did you solved?