Smart pathfinding

Get help using Construct 2

Post » Wed Dec 25, 2013 4:37 pm

Somebody, please, tell me how can I make multiple instances of the same object type avoid each other during moving? All instances use pathfinding behavior.
B
8
S
1
Posts: 9
Reputation: 595

Post » Thu Dec 26, 2013 1:58 am

I haven't tried this before, but give your pathfiding objects the solid behavior, and then once every few ticks regenerate the obstacle map. I'm not positive if each pathfinding object needs to regenerate the map, or if this map is shared by all objects who are pathfinding. If the objects still collide or even clip each other every so often, then experiment with making the cell size and/or cell border bigger.sgtwombatstudios2013-12-26 02:09:44
B
10
S
2
G
1
Posts: 64
Reputation: 1,032


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 1 guest