I am using version 3.8.10 and I have used navmesh for all my levels.
i have setup a navmesh. then created a car with an Agent and car controller - the script that controls the car. The car controller takes in the path.vectorPath[currentWaypoint] and works out the angle to turn the steering wheels and orientate the car along the path. Sometimes the path recalculates before a vehicle has turned to face the right way but thats ok as there is a final destination for it to reach.
With the funnel modifier this works really well and the car will navigate over the course and goes along the path smoothly.
I am stuck with putting obstacles in front of the cars path, the pathfinding is correct and thinks the next waypoint is behind or through the obstacle so the agent is trying to get to the final destination. I can raycast infront of my car and detect an obstacle and tell the car controller to slow down and stop or reverse if its too close but the path recalculation usually determines that it should move through my obstacle again and my car goes into deadlock - unable to go forward too much or reverse back too much.
If i have an agent attached to a vehicle what is a good approach to implement obstacle avoidance ? Do i need to learn how to use the RVOAgent ? or can i move the currentWaypoint and force a recalculation of the path ? Has anyone used the agents like i have to be auto pilots of vehicles so they are confined to the movements of the vehicle and not an free moving things ?
What I think am asking is for a recommendation of an approach to path finding and obstacle avoidance - if agents are constrained to the controls of a simulated vehicle and is this a good idea ?