Pathfinding: reduce path cost?

0 favourites
  • 1 posts
From the Asset Store
Units do not overlap each other and use different ways if there are several free ways.
  • Dear fellow developers!

    Please add the ability to reduce the path cost for objects to the pathfinding behavior.

    Your great example "Pathfinding: path cost" shows how pathfinding can avoid unwanted areas, but I can't create the opposite logic when pathfinding builds a path trying to pass through the specified sprites.

    Important point! Working in Construct 2, I set the price "-20" for objects and it worked fine, objects with the pathfinding behavior moved along my paths. However, after importing to Construct 3, this feature stopped working, and no matter what price I set, pathfinding, on the contrary, tries to run a path through the specified objects. I tried both positive and negative values, but I didn't see much difference.

    Thanks for your attention.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)