Avoid overlapping while moving with Pathfinding – two examples C3

Avoid overlapping at the target point C3P

One very common problem with Pathfinding behavior in Construct 3 is preventing pathfinding objects from colliding and overlapping each other. Unfortunately, there is no easy way to do this. We have two demos, which may be a good starting point for someone making an RTS/RPG game.

Both downloads include a very well commented event sheet.

Example 1

C3P Avoid overlapping at the target point. When several instances are moving to the same point on the layout, they will stop at some distance from each other within the same area.

 

Example 2

Pathfinding

C3P Avoid overlapping while moving. Multiple groups of npcs/enemies can be moving to different destinations, and they will try to avoid overlapping each other.

 

Happy
Happy
28 %
Sad
Sad
0 %
Excited
Excited
67 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
6 %