In this section, we will apply the ragdoll to the AI ragdoll game object and replace it with the current AI game object when it dies.
Go to the Project view and open the
Prefabs folder inside the
Chapter7 folder. Drag the
robot_AI_ragdoll prefab to the Hierarchy view. Then, go to the Scene view and press the F key to zoom into the
robot_AI_ragdoll game object in the scene.
Now, we can start applying ragdoll physics to the