DigitalSpaces::DIPhysicsShapeCollisionListener Struct Reference
[Physics]

#include <Physics.h>

Inherits DigitalSpaces::DIObjectBase.


Detailed Description

Allows an implementation to gather information about collisions as they occur, and to customize the simulations reaction to the collision.

Public Member Functions

bool OnShapeCollision (DIPhysicsCollision *collision)
 Called when a collision occurs.

Member Function Documentation

bool DigitalSpaces::DIPhysicsShapeCollisionListener::OnShapeCollision ( DIPhysicsCollision collision  ) 

Called when a collision occurs.

Parameters:
collision Provides information about the collision, and also access to the collision "material", which controls how the simulation will react.


The documentation for this struct was generated from the following file:

Generated on Sun Aug 31 17:46:28 2008 for Digital Spaces by  doxygen 1.5.6