Hi there,
Not sure if this is a bug that anyone else has had, or if Gary came across it or mentioned it (I’ve now completed this course and don’t remember it being talked about).
When I place towers on an enemy path, it re-calculates the path and re-routes the enemy no problem. My issue is, I can place a tower on the Start and End coordinates. Nothing breaks, and the pathfinding still works, it just looks a bit funky having the enemy go through the tower.
Importantly, I can’t place a tower on a path node if it would block the path, so that is working properly. I’ve gone through all the source code and compared to mine, and can’t see any differences.
I can also still place a tower on these nodes if i make their ‘isPlaceable’ flag false.
Any ideas here?