Game Development Reference
In-Depth Information
7. Click on the
Create
button to create the ragdoll for our
AI
object. If we click on
robotAI_ragdoll
in the
Hierarchy
view, we will see that the capsule and box
colliders get merged on each joint, as shown in the following screenshot:
However, we are not done yet. From the preceding screenshot, we can see that we
still need to adjust the colliders associated with the character's shape.
8. Click on
head
in the
Hierarchy
view, go to the
Inspector
view, and set the fol-
lowing values:
Sphere Collider
X
:
-0.04
,
Y
:
-0.06
, and
Z
:
0
Center
Radius
0.15
9. Next, click on
roothandle
in the
Hierarchy
view, go to the
Inspector
view, and
set the following: