SO3Engine
|
OgreNewt_MaterialPair.cpp
Go to the documentation of this file.
41int _CDECL MaterialPair::collisionCallback_onAABBOverlap( const NewtonMaterial* material, const NewtonBody* newtonBody0, const NewtonBody* newtonBody1, int threadIndex )
52void _CDECL MaterialPair::collisionCallback_contactsProcess(const NewtonJoint *newtonContactJoint, dFloat timestep, int threadIndex )
virtual int onAABBOverlap(OgreNewt::Body *body0, OgreNewt::Body *body1, int threadIndex)
user-defined AABB-overlap function
Definition OgreNewt_ContactCallback.h:47
MaterialPair(const World *world, const MaterialID *mat1, const MaterialID *mat2)
constructor
Definition OgreNewt_MaterialPair.cpp:9
void setContactCallback(OgreNewt::ContactCallback *callback)
assign a custom collision callback.
Definition OgreNewt_MaterialPair.cpp:22
OgreNewt::ContactCallback * m_contactcallback
Definition OgreNewt_MaterialPair.h:77
NewtonWorld * getNewtonWorld() const
retrieves a pointer to the NewtonWorld
Definition OgreNewt_World.h:284
void waitForUpdateToFinish() const
Definition OgreNewt_World.h:361
Generated by 1.9.8