Introduction to joints in Unity
Creating a ragdoll game object in Unity requires some basic knowledge of the different joints and how these can be added to game objects.
Unlike the joints or bones that are imported in the FBX file as part of the rigged model, Unity's joints can be used to connect game objects that respond to physics within the game.
There are several different joints that we can choose from, which suit different situations within a game, and different joints in a human body.
Creating a test scene
We will start with a blank scene and some simple geometry to test our physics objects:
Create a new scene by navigating to File | New Scene....
Add a plane game object using the menu bar by navigating to GameObject | 3D Object | Plane.
Click on the Plane in the Scene view or Project panel to adjust its parameters in the Inspector panel.
The plane game object should be centered within the scene by default.
Rename the plane
groundPlane
by typing this into the field at the top of the Inspector...