How do I prevent pathfinding to slow down before stop

0 favourites
  • 2 posts
From the Asset Store
Units do not overlap each other and use different ways if there are several free ways.
  • Hello all.

    the game is a top down shooter.

    i have a mob, piloted by pathfinding, which is seeking the player and try to catch him.

    when he get close i would like him to accelerate briefly to rush the player.

    but the pathfinding behavior make him slow down before hit is target.

    the player is moving so the mob can never reach him because of that.

    i tried to reduce the deceleration to 0 or with very high value like 5000.

    but nothing works.

    i've tried to desactivate pathfinding at the last moment and use bullet instead, but i run into other issue.

    is somebody have an idea ???

    thanks.

    sorry for the poor english.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hmm my mistake. I specified deceleration in the events and its working a lillte better. it was not took in consideration before due to a poor project organisation./

    thats not perfect but it will do the trick for the moment.

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