Making a bunch of simple objects move about with AI

I have a bit of a rush job going on and could do with a bit of help. I’ve imported a street scene and need a bunch of spheres to move around in my project… ideally freely in some sort of random pattern, bouncing off or at least avoiding the buildings and such. I imagine getting this effect should be quite simple but am not quite sure where to start. Blueprint I would think but all the threads I’ve searched get a bit in depth, maybe more so than i require. Can anyone give me an idea of the best and quickest way to get this effect? Is there some sort of simple way to impose random movement to an object?

Thanks

Anyone got any simple advice on this at all?

I’ve just bought the AI citizens off marketplace and this worked but now my project doesn’t build so it’s so far been a waste of £40 and I’m back to square one. Just trying to give a few red dots some movement and time is running out!

Anyone?

  1. Add a movement component to your sphere’s
  2. Make a BlackBoard with a Vector named something like Target
  3. Make a Behavior Tree that uses the BlackBoard
  4. Make a EQS that finds a Random point and sets the Blackboard value
  5. In the BehaviorTree call under a sequence call the EQS, then have a moveto node to the TargetVector
  6. On spawning your sphere’s make sure the BehaviorTree is set to run, SpawnAi node should do this but it can be done a few ways.
  7. Place a Navigation in the level and make sure it’s bounds are big enough.

Or, pm me. I do contract work. $60 an hour. This should be at most an hour.

Hi thanks for the reply!

I’ve managed to get the Citizen AI plugin to work better now but if I need any further help i’ll drop you a PM. Always good to know people who might be able to do some work in this area!