Maximum Rotation

Hello !

I am currently experimenting with a car traffic simulation. How and where could I implement a maximum rotation in which the car does not turn 180 degrees on the spot.

is it in aiPath.cs CalculateNextRotation?

does nobody have an answer?

Hi

This is not possible out the box. The reason is that this requires cooperation with the pathfinding algorithm to not generate paths that require the agent to do a 180 degree turn on the spot, and that would require significant changes to the pathfinding algorithm. For traffic simulation a more specialized pathfinding algorithm is probably better than this quite general package.