O'Reilly logo

Unity 3D Game Development by Example by Ryan Henson Creighton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - get your heart on

Just as we did with the hands and tray models, we're going to create a new Heart Game Object and parent it to our imported heart model, with a few adjustments in the FBXImporter.

  1. In the Project panel, click on the heart model.
  2. Change the Scale factor of the heart model in the Inspector panel to 0.07.
  3. Leave Generate Colliders unchecked.
  4. Click on the Apply button.
  5. Drag the heart model from the Project panel into the Scene.
  6. In the Inspector panel, change the heart's position values to X:0, Y:0, Z:0.
  7. In the Hierarchy panel, click on the gray arrow on the heart Game Object to reveal the Heart_Mesh.
  8. Click to select the Heart_Mesh, and in the Inspector panel, change its Transform position to X:0, Y:0, Z:0.

    By setting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required