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
8
S
1
Posts: 11
Reputation: 522

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
279
S
104
G
86
Posts: 7,313
Reputation: 84,331

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
130
S
29
G
80
Posts: 5,272
Reputation: 55,976

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
8
S
1
Posts: 11
Reputation: 522


Return to How do I....?

Who is online

Users browsing this forum: giorgio1982, SoldjahBoy, Xh3maa and 2 guests