CrystalSpace

Public API Reference

Public Member Functions
iDynamicsCollisionCallback Struct Reference

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

#include <ivaria/dynamics.h>

Inheritance diagram for iDynamicsCollisionCallback:
iBase

List of all members.

Public Member Functions

virtual void Execute (iRigidBody *thisbody, iRigidBody *otherbody, const csVector3 &pos, const csVector3 &normal, float depth)=0
 A collision occured.

Detailed Description

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

Main ways to get pointers to this interface:

Main users of this interface:

Definition at line 430 of file dynamics.h.


Member Function Documentation

virtual void iDynamicsCollisionCallback::Execute ( iRigidBody thisbody,
iRigidBody otherbody,
const csVector3 pos,
const csVector3 normal,
float  depth 
) [pure virtual]

A collision occured.

Parameters:
thisbodyThe body that received a collision.
otherbodyThe body that collided with thisBody.
posis the position on which the collision occured.
normalis the collision normal.
depthis the penetration depth.

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

Generated for Crystal Space 2.0 by doxygen 1.7.6.1