- Home /
Question by
nikoyal · Sep 26, 2017 at 03:27 PM ·
animationandroidinstantiate
How to have raindrops randomly instantiate from the sky 2D
My game idea is to protect a creature from the water falling from the sky i plan to make it as a survival mode and i need to make an object taht instantiates multiple water drops so it looks like rain and depending on the air the waterdrops instatianted have and fall in a diffrent angle.I have no code so far
Comment
Best Answer
Answer by NNNscarfo · Sep 26, 2017 at 03:36 PM
A particle system would probably be the best solution. Check out this tutorial on making a rain effect using particles: https://www.youtube.com/watch?v=VN6RzRQ-SWU
If you want to know when something is "protected from the rain," you can use Raycast2D.