Pathfinding new problem

0 favourites
  • 4 posts
From the Asset Store
Kids Game
$49 USD
New Sounds Added Update: 115 new sound effects added for no additional cost!
  • 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.

  • Try Construct 3

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

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

  • ok thank tou i test this..

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