O'Reilly logo

Building a 3D Game with LibGDX by Elmar van Rijnswou, Andreas Krühlmann, Sebastián Di Giuseppe

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

Chapter 5. Starting to Look Like an Actual Game

In this chapter, we will add our models with their animations and make them interact. We'll also add a space dome to start making it look like we are actually in space, and a modeled arena for which we will get the precise collision bounds.

In this chapter, we will cover the following topics:

  • Adding models and animations
  • Adding an additional camera for extra features
  • Getting collision shape bounds from a static model
  • Adding basic shadows

Models usable and ready to deploy with LibGDX

We can import models in a few types of file such as Wavefront (OBJ), as we explained in the Exporting section of Chapter 4, Preparing Visuals, which is a basic kind of file type that may or may not contain everything we need ...

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