how do i get those trees to stop the enemy fire? as a side note... only the first bullet is facing the right way, the rest spawn upside down... how can i fix that as well?
Click the bullet then go to the editor and grab the side tag to either flip end over end or the round tag and rotate 180 degrees.
this is how it appears in the scene... the first bullet fired comes just fine, but the spawned ones afterwords are not they come out as it appears in the screen shots above (you see two because of scene overlap from having it solod)
I used a transform object to change the direction off screen. I've made a quick video showing you in debug mode too. The direction of where your bullets go off screen will depend on your gameplay direction. So just play around and see
awesome.. never thought of that... can just use those to transform position...actually this opens up a few ideas... hey thanks for doing that work for me and taking the time to teach, I really really appreciate it...
No problem. What the transform now does, is spawn the bullet off screen, to give the illusion its vanished. However, I am worried about performance if too many are spawned off screen, but hoping that once a player moves off that level, its all forgotten or reset.
There is the Back Del Threshold in Advanced Gameplay Settings you can control how far an object can go off screen before gets deleted. If you place your object further than that, BB should automatically delete the object so theoretically you will have no memory (resource) leaks because of that.
@heathclose Sorry, how did you make that the obstacles stop the bullets? Thanks in advance for your help.
Put a transform in the place the bullet hits the wall. Set the transform to change the position of the bullet outside of screen into the del threshold it's like a teleport but for objects