Original Post
Hello,
I'm making a top down shooter, which has several height levels. What I mean, there is the "top" level where the players ship and most enemies are at. There is the "middle" level, where destroyable buildings, bridges etc. are and there is the "bottom" level where you have ground units.
Now my real problem is, the projectiles. When I shoot lasers out of the player ship, it will hit enemies on the same height level normally. In order for it to trigger the destructible objects in the lower levels, I've just made projectiles with a very high/tall collider. While it "works", it has of course some optical impacts, so the shoots don't trigger correctly when the shoot "visually" hits the object an it (the laser, rocket etc.).
So is there any way to solve this problem elegantly? It's a 3D top down shooter with perspective camera.
I'm making a top down shooter, which has several height levels. What I mean, there is the "top" level where the players ship and most enemies are at. There is the "middle" level, where destroyable buildings, bridges etc. are and there is the "bottom" level where you have ground units.
Now my real problem is, the projectiles. When I shoot lasers out of the player ship, it will hit enemies on the same height level normally. In order for it to trigger the destructible objects in the lower levels, I've just made projectiles with a very high/tall collider. While it "works", it has of course some optical impacts, so the shoots don't trigger correctly when the shoot "visually" hits the object an it (the laser, rocket etc.).
So is there any way to solve this problem elegantly? It's a 3D top down shooter with perspective camera.