Forum rules - please read before posting.

Player Walking On Spot When Hitting Collider

If, for example, the mouse is clicked on the middle of a building, the player will walk to the building, hit the wall, and continue walking on the spot next to the wall. Is there a way to fix this?

Comments

  • Make sure there's a collider on the Default layer covering the wall - this will block cursor clicks, but also ensure they are not mistaken for the NavMesh.
  • I've done that, Chris. However, if a click is made near the wall then the character walks up to it and still walks on the spot next to it.
  • What's your pathfinding method?  Does the NavNesh hug the wall at a distance less than the player's collider radius?  That may account for that kind of behaviour.
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.