O'Reilly logo

Panda3D 1.6 Game Engine by Dave Mathews

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 6: The World in Action: Handling Collisions

Regarding basic collision detection

Question number

Answer

1

A collision solid is a shape used to define a mass for collision purposes.

2

CollisionNodes store many variables that determine collision behavior, including collision solids.

3

A CollisionTraverser is an object that does the actual work of checking to see if collisions happen.

4

The traverse method is passed as NodePath, and the NodePath matters because only that NodePath and its children will be checked for collisions; the rest of the scene graph won't.

Understanding handlers that generate events

Question number

Answer

1

They generate events based on collisions, according to the patterns that we define for them.

2

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