Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
It is a great enhancement to your applications to integrate with certain physics engines, and, thus, have the ability to compute collisions between scene objects, simulate rigid, soft body, fluid, and cloth behaviours in a virtual physics world. Especially in games, physics support can make the scenario more realistic and interesting, and provide comfortable user interactions and feedbacks.
In the last recipe of this chapter, we are going to see a simple example of physics integration in OSG. It requires the famous NVIDIA PhysX library as dependence, and can finally produce an interactive program demonstrating the most common rigid-collision functionality in an OSG world.