How do i make pathfinding ai go on the middle navigation path

Godot 4.2


How do i able to make my npc go on the line of paths it keeps going nearest position

Image source :


the path looks correct, it’s in the middle of the road, then why the npc/sprite2d looks offset’d?

It not moving at middle line bro it just go nearest i change hitbox but still that

This video made me worked fine…

Source (from video) : godot-tutorials/4.2/3 - pathfinding grids in godot 4.2 at main · cashew-olddew/godot-tutorials · GitHub
( i didnt create this)

good then if it worked