Game Development Reference
In-Depth Information
Bullet Physics
In
Chapter 11
,
Advanced Programming Techniques
, you learned about 2D physics using
Box2D. Now, we will enter the next dimension: 3D physics using the Bullet Physics
engine. Bullet Physics itself is a huge topic, so, this chapter will focus on providing
you with a basic idea about the 3D physics engine. Later, we will create a physics
simulation using basic shapes.
In this chapter, we will cover the following topics:
• Create a project using
gdx-setup.jar
• Focus on the basic concepts of bullet
• Create a simple application to simulate physics using Bullet
About Bullet Physics
Bullet is a 3D collision detection and rigid body dynamics library. It has been used
in many Hollywood movies such as
Megamind
,
Shrek 4
, and
How To Train Your
Dragon
, and popular games such as the
Grand Theft Auto
series. The Bullet Physics
library was originally created by Erwin Coumans. Since 2005, the Bullet project
has been open source with many other contributors as well. The Bullet library is
published under the
zlib
license. It is written in C++ and has been ported to several
frameworks and programming languages.