Thanks ! I think I just fixed the collision problem and yeah the game lag a bit, especially on browser, html seems to no be able to handle pathfinding, but I did some optimization and should be a bit better
I think it handles pathfinding correctly - we tested webgl build with our game and path finding worked correctly but we had issues with collisions in our web build.