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
7
S
1
Posts: 9
Reputation: 493

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
272
S
99
G
70
Posts: 7,267
Reputation: 75,794

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
129
S
29
G
75
Posts: 5,145
Reputation: 53,195

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
7
S
1
Posts: 9
Reputation: 493


Return to How do I....?

Who is online

Users browsing this forum: Evanetot, Pulstar, wowsoundsg and 5 guests