Pathfinding breaking after multiple layouts

Get help using Construct 2

Post » Thu Dec 03, 2015 3:13 am

Hi all, I've been recently running into strange actions from the pathfinding behavior, which seems to work perfectly fine when first loading a layout, but when returning or going to another layout with the pathfinding-enabled creature, things get strange.
Some info (image may be large), blue nodes show the path the pathfinding is taking. First layout load on left, second on right:
Image
Other info: the pathfinding is set to 40 Cell size with 6 border, obstacles set to solid walls (which are located where the black lines are).
B
9
S
2
Posts: 11
Reputation: 697

Post » Thu Dec 03, 2015 9:47 am

You should actually directly post your capx instead of a screenshot.
This would make things easier to investigate and see go haywire.

You provide a decent amount of informations, but this is still divination you are expecting from us.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Thu Dec 03, 2015 10:17 am

Does using the 'Regenerate obstacle map' (or 'Regenerate region') action when entering or re-entering a Layout help?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,388
Reputation: 58,458

Post » Thu Dec 03, 2015 12:45 pm

zenox98 wrote:Does using the 'Regenerate obstacle map' (or 'Regenerate region') action when entering or re-entering a Layout help?

That seems to have fixed it! Thanks!
B
9
S
2
Posts: 11
Reputation: 697


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, cb130felix, duditon, Kermad, Lancifer, piddlyPoo and 8 guests