I’ve never had that issue or maybe I just didn’t notice it. IDK. It should take a straight line as long there isn’t any obstacles. I don’t see any actions to change the smoothing.
My tips would be if it makes sense for your project, try to align the objects to a grid and then set the virtual grid to the same value with an offset that’s half the size. This will center the points or nodes that the pathfinder behavior uses.
You can see in this post about a maze.
https://forum.gdevelop.io/t/make-pathfinding-collision-less-choppy/60067/7?u=keith_1357
Everything just works smoother. It also helps to have the moving object slightly smaller. If the grid is 32 then maybe the moving object should be 30 or 28 maybe even smaller. Remember the pathfinder uses the bounding box not the collision mask. The moving object’s origin point should be in the center to keep it (well) centered.
It would help if you could provide more details on what you’re doing and maybe a screenshot of the movement events.
Are you adding points or objects to create multiple paths or are there hidden obstacles. Because it doesn’t look like the shortest path. I’m assuming it’s moving in stages.
Edit : There is a community pathfinder behavior called Nav Mesh. It uses its own obstacle behavior. It might work better for your project. I’ve used it. It’s good. Although, in one test project it wasn’t always taking the shortest path.