O'Reilly logo

LibGDX Game Development Essentials by Juwal Bose

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

Box2D rigid bodies

A body is just a collection of matter with some attributes assigned to it, such as its position and orientation. It is what we usually call an object in the real world. A rigid body describes an idealized body, which is assumed to be solid and thus incapable of being deformed by the exerting forces. Box2D supports rigid bodies, but the 3D physics library bullet has support for soft bodies as well. There are three types of bodies:

  • Static: This type of body cannot move and is not affected by forces. However, they will affect a dynamic body (the ground).
  • Kinematic: This type of body is similar to a static body that can move. It is not affected by forces and can affect dynamic bodies (moving platforms).
  • Dynamic: This type of body will ...

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