Modeling

Finally, we can move on to the most exciting part of the chapter, modeling:

  1. Select the Scale tool (explained in the basics).
  2. Make the cube wider on the y and z axis by clicking on the corresponding axis on the gizmo (one axis at a time).
  3. You can cancel any change on the model by right-clicking the mouse button or Ctrl + Z from the keyboard to undo, and Ctrl + Shift + Z to redo.

    Modeling

  4. Duplicate the cube by pressing Ctrl+C/ Ctrl+V on Object Mode or Shift+D on both Object Mode and Edit Mode, then scale it down and move it below the first one. This will be our grip.

  5. Now, just like we did with the body of the gun, scale the cube to make it thinner ...

Get Building a 3D Game with LibGDX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.