Further work on my 3D grid pathfinding. Added enemies, camera rotation and the pillars are getting transparent when obstructing the camera view.
I'm using rays projected from the camera to the player and the enemies to check for obstacles. If the ray hits a pillar, I make it transparent and project another ray from the collision point (after adding exceptions) in case there's more than one pillar in a line.
Ещё видео!