guys I have a problem that I can't solve, practically the objects that have the pathfinding sometimes get stuck between the solids even if they have the solids as an obstacle
Develop games in your browser. Powerful, performant & highly capable.
Try adjusting your cell size and cell border lower.
ok, thank for your answer, but i have tested and the game is rallenty
The pathfinding map is only generated when you set pathfinding enabled. Is there a change to the environment during gameplay that would require a new pathfinding map to be generated? I have destructible items in my environment so I regenerate the pathfinding map every second. You're technically not supposed to do that, but I haven't noticed a performance hit.
I regenerate the map every 0.2 ,, anyway, I solved it by setting the acceleration as low as possible ,, thanks