Suggestions and help with car path finding

Hi, I’m on the pro version.I have a huge 3d world and from my understanding Recast Graph is the best for this case.Please correct my if I’m wrong.I’m also using rcc package from asset store.Which gives me ability to change motorinput,brakeinput,steerinput which will cause the car to move using a rigidbody.The problem is RichAi script is too complicated.I need to know the next point position towards me and change my input based on that.

Hey, you might find this other thread interesting (re. car pathfinding)


You might be interested in
None of the included movement scripts in the package are intended for cars, so you would have to write a custom one.

Actually I have already written an script by that article.But rich ai script is so smarter I wanted to get the next point on the blue line and that’s all I need.You have any idea how to do that?

You can get the point using ai.steeringTarget

That’s exactly what I needed Tnx Aron.These scripts are amazing got my car ai working.

By the way how do I force it to find a path forward the card sometimes it finds it from the back of the car.

There might be a better / more official answer but I suspect one could write a custom PathEndingCondition that declines nodes (or perhaps paths starting with nodes) ‘behind’ the car.

That’s nice could you do that?