Soromytko / Taxi-Simulator

1 stars 0 forks source link

Optimize and fix the path finding #32

Closed Soromytko closed 1 month ago

Soromytko commented 2 months ago

Calling the "get_next_path_position" method every tick is a performance overhead. Rebuild the path only when it is necessary.

Soromytko commented 1 month ago

The path should include not only the waypoints, but also the origin and destination. It is also necessary to fix this.