spawning more than one object

can anyone show me how i could Instantiate multiple object in the same position with out calling Instantiate multiple times ?

and then another example of how i could give them a spread that would fan out more as the object travels?

i trying to make a script for a shotgun. :smile:

You can’t, but there’s nothing wrong with calling Instantiate multiple times. (If there was a built-in function, it would only do that internally anyway.) However, I don’t think you want to instantiate anything for a shotgun, since shotgun pellets travel extremely fast. Probably use some raycasts.

–Eric

ok thanks. i was planning to set a variable that would set the amount of bullets fired. and how could i make a shot gun like behavior such as more damage close up and less from farther away and spread with raycast?