- Home /
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.
Comment
Answer by ShinyMark.du · Aug 15, 2011 at 07:58 PM
This is basically answered here:
http://answers.unity3d.com/questions/8003/how-can-i-know-if-a-gameobject-is-seen-by-a-partic.html
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220612181400im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Realtime mesh deformation or texturing 0 Answers
I need help with my spell dealing damage over time. 1 Answer
Straight shooting when mouse pressed(not held) 1 Answer
Magic Circle breakdown 0 Answers
fire spell 1 Answer