Tower Defence 3D is not the devenitive name of the game. The game is a tower defence game with a twist. Towers will deal different type of damage and entities will have different types of immunities. there will also be a PVP mode where 2 player have to send troops to the other team's track in order to destroy their tower.
I started this project just for fun and because i thought that tower defence is a good game to learn coding. In tower defence you need to make al kind of stuff, like: pathfinding, targeting, health system, build system and more.
View project at Github
for the targeting of the towers, I get all "enemies" in its range and check if the tower can even target these enemies because there are different types of enemies. For now I just get a random enemy to focus on, but this will later be changed to the enemy that is the furthest on the track. First I will need to find a better way to get all enemies in the tower's range, because the overlap I use now is pretty heavy on the cpu and will cause lag when you have a lot of towers.