To add a rigid prop at runtime to an animated character, follow these steps:
- Create a new 3D project and import the Props Unity Package and the texture_pickupBadge.png Texture.
- Then, from the Project panel, open the mecanimPlayground level.
- From the Project panel, add the badge prop to the scene by dragging it into the Hierarchy.
- Make the badge a child of the mixamorig:Spine2 Transform (use the Hierarchy tree to navigate to MsLaser | mixamorig:Hips | mixamorig:Spine | mixamorig:Spine1 | mixamorig:Spine2). Then, make the badge object visible above the character's chest by changing its Transform Position to (-0.08, 0, 0.15) and Rotation to (0.29, 0.14, -13.29):
- Make a note of the Position and Rotation values, and delete ...