Pathfinding new problem

0 favourites
  • 4 posts
From the Asset Store
Units do not overlap each other and use different ways if there are several free ways.
  • when the Pathfinding seeks the new path, in seeking it it sometimes turns on itself, to find the right angle from which to move. I, on the other hand, would not want it to turn on itself, but rather that it would make a U-shaped or a little rotational movement, but not on itself

  • I suggest you use two objects: one invisible object with the pathfinding behavior, and another which is visible and interpolates ("follows") the position/angle of the pathfinder.

    That way you can control the smoothness of the motion which the player sees.

    You could also do this with a single object and the MoveTo behavior, using pathfinding nodes. Either method will require some fine-tuning to get it right.

  • You can set the padding around the obstacles higher so that sharp edged obstacles are blunted when you move around them. Make the search squares smaller with big padding and you won't get sharp turns around sharp solids.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok thank tou i test this..

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