iDynamicsColliderCollisionCallback Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
iDynamicsColliderCollisionCallback Struct Reference

This is the interface for attaching a collision callback to a collider. More...

`#include <ivaria/dynamics.h>`

Inheritance diagram for iDynamicsColliderCollisionCallback:

List of all members.

## Public Member Functions
virtual void | Execute (iDynamicsSystemCollider *thiscollider, iDynamicsSystemCollider *othercollider)=0
| A collision has occured between this collider and another.
virtual void | Execute (iDynamicsSystemCollider *thiscollider, iRigidBody *otherbody)=0
| A collision has occured between this collider and a rigid body.

## Detailed Description

This is the interface for attaching a collision callback to a collider.

Main ways to get pointers to this interface:

- application specific

Main users of this interface:

- iDynamicSystem

Definition at line 851 of file dynamics.h.

## Member Function Documentation

virtual void iDynamicsColliderCollisionCallback::Execute | ( | iDynamicsSystemCollider * | thiscollider,
|  | iDynamicsSystemCollider * | othercollider
| ) |  | `[pure virtual]`

A collision has occured between this collider and another.

virtual void iDynamicsColliderCollisionCallback::Execute | ( | iDynamicsSystemCollider * | thiscollider,
|  | iRigidBody * | otherbody
| ) |  | `[pure virtual]`

A collision has occured between this collider and a rigid body.

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

- ivaria/dynamics.h