Book Image

Libgdx Cross-platform Game Development Cookbook

Book Image

Libgdx Cross-platform Game Development Cookbook

Overview of this book

Table of Contents (20 chapters)
Libgdx Cross-platform Game Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. Rigid Body Physics with Box2D

In this chapter, we will cover the following recipes:

  • Introducing Box2D

  • Introducing more complex shapes

  • Introducing joints

  • Real-life joints example – bike simulator

  • Reacting to collisions

  • Sensors and collision filtering

  • Querying the world

  • Building a physics world from level data

  • Implementing a deferred raycaster

  • The fixed timestep approach