AIPath repathing causing movement jitter

Hi all,

I’m trying to use A* for a sail ship AI, but I’m getting a slight ‘jitter’ when the AI is repathing.

I’m using a grid graph with a node size of 5, and the AI script is based on the AIPath script that comes with the package. Turning down the repathing rate obviously helps, but the AI will be pursuing a player so I need this to be reasonably responsive.

Any suggestions? Thanks

I moved to a navmesh and this seems to have solved the problem.

1 Like