Forum rules - please read before posting.

Navigation Stuttering

I have switched to point & click movement in my project.

When I click on an area in the nav mesh, if there is a hole between where the player is and the clicked spot, the game freezes for a very short time. However, when the navigable area is narrow, since the player does not see the nav mesh, they may experience a continuous stutter.

Is there any way to optimize the situation?

Comments

  • edited January 20

    This is for a 2D game?

    The freezing sounds related to pathfinding, which will depend on the complexity of the NavMesh.

    You can configure the NavMesh from its Inspector, including accuracy and the number of vertices it has, but if you switch your Scene Manager's Pathfinding method to A Star 2D, you should find that it's much faster by default.

  • Yes, a 2D game. And A Star 2D fixed the issue. Thanks!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.