Forum rules - please read before posting.

Pathfinding moving on edges

Hi,
I have a road that a horse object runs across, using the Move to Point action
However when running it just runs on the edge of the road and onto the grass even though it's set as "not walkable"
https://imgur.com/a/rCwtOUB

Ive tried increasing and decreasing the agent radius but the outline for the pathfind still stays on the edge of the road so the move to point is running on the edge

Any advice?
thanks!

Comments

  • edited October 2019

    I'd recommend increasing the agent radius more than how you have in the screenshot to keep the NavMesh further from the edge.

    You can have AC characters stick more rigidly to the NavMesh by increasing the Settings Manager's Destination accuracy slider. Alternatively, adding the NavMesh Agent and NavMesh Agent Integration components will have them rely on Unity's own pathfinding system, which may be more appropriate for this case.

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.