Help with an NPC Movement system

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want an NPC to follow a path

  2. What is the issue? The problem is that every time I have it turn a sharp corner (Basically all turns on the track) the momentum it carries makes it fly off the track, this isn’t a problem for slower NPCs, but this NPC has a very high walk speed

  3. What solutions have you tried so far? I’ve tried a lot of solutions, but all of them have had the same issue, while it works on stopping the NPC, it makes the NPC need to accelerate again

What I need? I need help with what I should do to make the NPC not start flying off the track when it hits a turn and be able to maintain max speed/get max velocity instantly

If you want the NPC to not accelerate or decelerate while moving, then add the Constrain Velocity node to your update function.
Constrain Velocity will keep the velocity as it is, unless it is modified by other forces, such as gravity or friction. You can modify the settings to your liking.

Thanks for that, but how do I make it so that the NPC doesn’t start sliding off of the track as well?