Open StefanoFiumara opened 7 years ago
@StefanoFiumara could this be as simple as to destroy if it goes past camera view or some defined bounds of the map?
Also sounds like an opportunity for object pooling.
I don't think object pooling will be necessary, but yes, the solution is basically to have an out of bounds collided that cleans up projectiles that are overshot
This means that if we overshoot, our projectile will never hit anything and continue flying forever.