First I tried navmesh. Everything was complicated by the fact that there are not many ready-made solutions for
#haxe #heapsio technology, so I had to write my own version of navmesh generation, although I found several libraries for triangulation. But navmesh works in the case when the level is generally static and has clear dimensions. In addition, I have objects of different sizes, and this adds complexity to the calculations.