- Home /
Duplicate Question
How do I make a game object spawn several times in semi-random locations?
I am making a racing game where bombs drop from the sky and explode upon hitting the ground. I want to make the bombs drop from the sky in random positions ALONG the track (so there aren't random bombs being dropped outside of the play area) and I want this to continue until the race is over. How could I go about doing this? I am not good at coding so specific instructions would be GREATLY APPRECIATED. Thank you so much!
Answer by Sanky · Jan 28, 2013 at 12:33 PM
use parent child linking or array variable will help you to crate spawn point at any position.
var arr : Transform[];
Follow this Question
Related Questions
Object Spawning Randomly 0 Answers
Random Spawning of Objects at Random Locations 1 Answer
Enemies spawn on top of each other(C#)(Unity) 1 Answer
AI spawning areas. What are the ways to make them? 1 Answer
How to spawn random buildings 5 Answers