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
14
S
2
Posts: 12
Reputation: 824

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
298
S
120
G
96
Posts: 7,342
Reputation: 71,460

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
138
S
31
G
88
Posts: 5,639
Reputation: 61,209

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
14
S
2
Posts: 12
Reputation: 824


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests