Build the Asteroid Field

In this lesson, we'll reuse our Planets script to spawn an asteroid field with random sizes and rotation, then tune its size, parallax and spacing.

In this lesson

  1. 1.Create the Field
  2. 2.Size the Field
  3. 3.Add the Glow
  4. 4.Fix Overlap and Despawn
  5. 5.Exercise: Give the Asteroids a Slow Spin

This lesson is locked. Join the Scripting Course to unlock every lesson, file, and update.