AddingNewBodyParts
Adding a New Model with the Picker
To add a new part of the model, follow these steps. This guide assumes you have already imported your picker mesh and skeletal mesh.
-
Make the Merged Model a Skeletal Mesh:
Refer to the Animation chapter to learn how to create a Skeletal Mesh. -
Create a New Blueprint:
Name itBP_YourPartOfTheBody
. -
Place the Blueprint in the World:
Drag and drop the blueprint into the world and organize it within the World Explorer window. -
Open the Blueprint and Navigate to the
Viewport
:
Inside the blueprint, go to theViewport
tab. -
Add the Skeletal Mesh to the Scene:
In theViewport
, you should see theSceneRoot
. Open the Asset Explorer (Ctrl + Space
), find your Skeletal Mesh, and drag and drop it into theSceneRoot
component. -
You Should See Something Like This:
-
Rename the Skeletal Mesh in the Viewport:
Rename the Skeletal Mesh to match the name that will be displayed in the tree view. -
Assign a Descriptive Tag:
Add a short, descriptive tag (e.g., bones, veins, arteries, heart, liver, stomach, etc.) in the Details panel. -
Add the Picker Mesh:
Open the Asset Explorer again (Ctrl + Space
) and navigate to the folder where your picker mesh is located. -
Drag and Drop the Picker Mesh into the Skeletal Mesh:
Select all the meshes of the picker model and drag them into the Skeletal Mesh component. This ensures that the picker meshes become children of the Skeletal Mesh.You should now see something like this:
-
Configure the Picker Mesh:
Select all the picker meshes and perform the following actions:- Change the material to
M_MaterialPicker
. - Set the visibility to Hidden.
- Set the collision preset to Custom.
- Set
ReverseCulling
to true
Your configuration should look like this:
- Change the material to
Once you've completed these steps, you should be able to select individual parts of the model as well as the entire skeletal mesh from the sidebar of the application.