Pathfinding (Chasing missile)


#1

Hello, does anyone know how to make a pathfinder object chase a random chosen object? I am planing to make a chasing missile for my project. but it’ll only chase enemies. Not other objects like floor, background or the character itself.


#2

Hi,
You should try image


#3

How to use that? Can you give me example? I’ll wait for your reply. Thank you.


#4

This exists in both conditions and actions, it is used to select an object or group to which the other conditions/actions will apply.
Just click on it and select an object or a group :man_shrugging:


#5

Do you know how can I use a group of objects?


#6

I mean, how to choose a random object. It just shows up only one object in the choices.


#7

Create a group and add to the group all the objects that should be picked at random.
Then, when you add the condition/action, select the group name instead of an object.


#8

Hello,
here you can see my very simple game. The men are moving following a random path.
Here the source used.