#include <World.h>
Public Member Functions | |
virtual void | operator() (World *pWorld, AbstractGeom *pG1, AbstractGeom *pG2) |
Collision callback, using PVLE data. This is the method you should redefine. | |
Static Public Member Functions | |
static void | toPVLENearCallback (void *data, dGeomID o1, dGeomID o2) |
Collision callback that cast ODE data to PVLE data. |
Definition at line 75 of file World.h.
void Physics::NearCallback::operator() | ( | World * | pWorld, | |
AbstractGeom * | pG1, | |||
AbstractGeom * | pG2 | |||
) | [virtual] |
Collision callback, using PVLE data. This is the method you should redefine.
Definition at line 57 of file World.cpp.
References Physics::Contact::arithmeticCineticEnergy, Physics::Joint::attach(), Physics::Geom::collide(), Physics::Body::contactPos, Physics::JointGroup::createAndAdd(), DBG_TRY_BLOCK_END, DBG_TRY_BLOCK_START, Physics::dBodyGetPointVelV(), equivalent(), Physics::Geom::getBody(), Physics::Geom::getCollisionContainer(), Physics::World::getContactGroup(), Physics::Geom::getHandler(), Physics::Mass::getMass(), Physics::Body::getMassData(), Physics::Contact::getNormal(), Physics::Contact::getPos(), Physics::Contact::getSurfaceParams(), IGeomCollisionContainer::hitAfter(), IGeomCollisionContainer::hitBefore(), Physics::Body::isConnectedToExcludingContact(), Physics::AbstractGeom::isSpace(), Physics::SurfaceParams::mergeInto(), Physics::GeometryHandler::RAY, Physics::World::spaceCollide(), Physics::World::spaceCollide2(), Physics::Geom::surface, and Physics::GeometryHandler::type().
void Physics::NearCallback::toPVLENearCallback | ( | void * | data, | |
dGeomID | o1, | |||
dGeomID | o2 | |||
) | [static] |
Collision callback that cast ODE data to PVLE data.
Definition at line 46 of file World.cpp.
References ASSERT, and Physics::World::getNearCallback().
Referenced by Physics::World::spaceCollide(), and Physics::World::spaceCollide2().