Pathfinding breaking after multiple layouts

0 favourites
  • 4 posts
From the Asset Store
Units do not overlap each other and use different ways if there are several free ways.
  • 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:

    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).

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

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

  • 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!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)