Path Finding with Multiple Equal Distance Routes

Discussion and feedback on Construct 2

Post » Tue Aug 27, 2013 5:16 pm

How does pathfinding deal with multiple paths of equal distances?

Say a sprite wants to get from the bottom left of a square to the top right. There's an obstacle in the middle. The sprite can go up then right or right then up. How does it decide?
B
10
S
4
G
3
Posts: 103
Reputation: 2,984

Post » Tue Aug 27, 2013 5:59 pm

Why not try and see?
B
10
S
3
Posts: 233
Reputation: 1,537

Post » Wed Aug 28, 2013 12:55 am

[QUOTE=Xionor] Why not try and see?[/QUOTE] Was in class.

@xionor
Ok, I've tried it and got both results seemingly dependent on the cell size and cell border. I don't understand.bachrock2013-10-22 17:22:39
B
10
S
4
G
3
Posts: 103
Reputation: 2,984


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests