O'Reilly logo

Unity 4 Game Development HOTSHOT by Jate Wittayabundit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a ragdoll object

In the first section, we will set up and create a ragdoll object, which will be used to replace the AI game object when it dies.

Prepare for lift off

We will begin by importing a package, preparing the assets folder, and ensuring that we have everything ready in order to start. Let's create a new project and import a package with the following steps:

  1. Import the assets package by navigating to Assets | Import Package | Custom Package… and choose Chapter7.unityPackage, which we downloaded earlier. Then, click on the Import button in the pop-up window, as shown in the following screenshot:
    Prepare for lift off
  2. Wait until the package is imported, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required