Detect a Hit on an Asteroid

In this lesson, we'll teach the field which asteroid the pointer is on, with a hit test inside the Asteroids script and a targeting ring that locks onto the rock.

In this lesson

  1. 1.Find the Asteroid Under the Pointer
  2. 2.Make it Your Own

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