Intro to 3D Game Development

0 of 193 lessons complete (0%)

Scripting Part 3: Finishing the Game Loop

Copy the Dig Spot

You don’t have access to this lesson

Please register or sign in to access the course content.

Now that we have code that looks for anything with a digSpot tag, we can copy our Dig Spot, around the world, and create multiple entities with the same voxel object, script, collision, and tag.

  1. Select your Dig Spot and hold down the Ctrl key (or Cmd key on Mac).
  2. Drag the Dig Spot to a new location. The old one should stay, and a new copy should drag to your cursor.
  3. Repeat this until you have between 3 and 5 dig spots.
  4. Make sure that your spots are spaced so that their triggers don’t overlap. In the example above, they are a little too close together.