I’m using a navmeshagent in a click to move game, I’m also using a drag script to rotate the camera on the Y axis, but when I release the drag the navmeshagent goes to the position whereI released the screen, how could I fix this problem? any ideas please
You would need to check the distance between where you started touch and where you stopped it. If that distance is higher than a treshold you set, then don’t tell your agent to move