I’ve recently converted my movement script for NPC’s in my game from manually moving their rigidbodys to letting the navmesh agent move them. I am simply using the .SetDestination method of the agent. I’ve also just set the destination property. In both cases the destination doesn’t line up with the actual target I’m wanting them to go to.
I am setting the destination to the transform.position of another gameobject. When I debug.drawline to the transform.position of the target, and the agent.destination I get two different lines. The farther away the target is the bigger the offset.