Make Enemys randomly spawn of the screen?

I looked around a bit can’t seem to get any working. So if any one could help. Am trying to make the enemys randomly spawn off the camera/screen.

1 Answer

1

This is basically answered here:

Use the information described in the answer there to find a position for your enemy that is outside of the camera’s frustum. Then place it there to spawn it off-screen.