#include <material_collision_callback.hpp>
Public Member Functions | |
virtual int | ContactBegin (irr::newton::MaterialPair *material_pair, irr::newton::Body *body0, irr::newton::Body *body1) |
virtual void | ContactEnd (irr::newton::MaterialPair *material_pair) |
virtual int | ContactProcess (irr::newton::MaterialPairAndContact *material_pair_and_contact) |
virtual int irr::newton::MaterialCollisionCallback::ContactBegin | ( | irr::newton::MaterialPair * | material_pair, | |
irr::newton::Body * | body0, | |||
irr::newton::Body * | body1 | |||
) | [inline, virtual] |
The 2 bodies will collide soon.
material_pair | the materials of the two bodies | |
body0 | the first body wich collide | |
body1 | the second body wich collide |
virtual void irr::newton::MaterialCollisionCallback::ContactEnd | ( | irr::newton::MaterialPair * | material_pair | ) | [inline, virtual] |
The 2 bodies has collided but now they don't collide
material_pair | the materials of the two bodies |
virtual int irr::newton::MaterialCollisionCallback::ContactProcess | ( | irr::newton::MaterialPairAndContact * | material_pair_and_contact | ) | [inline, virtual] |
The 2 bodies is colliding
material_pair_and_contact | the materials of the two bodies and the material contact object |