O'Reilly logo

Learning Physics Modeling with PhysX by Krishna Kumar

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 4. Collision Detection

The topics covered in this chapter are as follows:

  • Collision shapes and types of geometries available in PhysX.
  • Trigger shapes, simulation events, and filter shader.
  • Broad-Phase collision detection and Narrow-Phase collision detection.
  • Continuous collision detection.

Collision shapes

This chapter covers collision detection and some other important topics related to it. A collision can only occur when two or more bodies having definite shape collide with (hit) each other. Therefore, for a PhysX rigid body actor, a shape is always required to define its spatial volume.

We have already learnt about shapes and materials in Chapter 2, Basic Concepts, where we saw that creating a shape in PhysX requires an object of PxGeometry ...

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