Intro to 3D Game Development

0 of 193 lessons complete (0%)

The Game Editor

Befriend the Crab using the Pet Script

You don’t have access to this lesson
Please register or sign in to access the course content.

You can create interactions before you even start writing code using the Scripts tab. This will let you add pre-made scripts to entities (like the crab) and watch what it does.

  1. Click the Scripts tab in the object panel
  2. Use the scroll wheel on your mouse, or click and drag any of the scripts to the left to scroll through all the options.
  3. Find the Pet script, and click and drag it onto the crab. The crab should run up to you as soon as it gets the script.

And just like that, you have a new floating crab friend that follows you around. Click the Camera icon to get out of bird’s eye view and move your player around to see the crab following you!