i have a space ship in my game at the start i want to Instantiate 20 asteroids round the ship though is code works it only in Instantiate the asteroids directly in front of the ship and not around the ship
function Start ()
{
Screen.showCursor = false;
}
for (var i : int = 0;i < 20; i++)
{
Instantiate (gameObject.Find("Asteroid"),Random.insideUnitSphere * 20 +transform.position,Random.rotation);
}