SO3Engine
|
OgreNewt_MaterialPair.h
Go to the documentation of this file.
6 OgreNewt basically has no license, you may use any or all of the library however you desire... I hope it can help you in any way.
51 void setDefaultSoftness( Ogre::Real softness ) const { NewtonMaterialSetDefaultSoftness( m_world->getNewtonWorld(), id0->getID(), id1->getID(), (float)softness ); }
54 void setDefaultElasticity( Ogre::Real elasticity ) const { NewtonMaterialSetDefaultElasticity( m_world->getNewtonWorld(), id0->getID(), id1->getID(), (float)elasticity ); }
57 void setDefaultCollidable( int state ) const { NewtonMaterialSetDefaultCollidable( m_world->getNewtonWorld(), id0->getID(), id1->getID(), state ); }
60 void setDefaultSurfaceThickness( float thickness ) const { NewtonMaterialSetSurfaceThickness( m_world->getNewtonWorld(), id0->getID(), id1->getID(), thickness ); }
63 void setDefaultFriction( Ogre::Real stat, Ogre::Real kinetic ) const { NewtonMaterialSetDefaultFriction( m_world->getNewtonWorld(), id0->getID(), id1->getID(), (float)stat, (float)kinetic ); }
81 static int _CDECL collisionCallback_onAABBOverlap( const NewtonMaterial* material, const NewtonBody* body0, const NewtonBody* body1, int threadIndex );
void setDefaultSoftness(Ogre::Real softness) const
set default softness for the material pair.
Definition OgreNewt_MaterialPair.h:51
void setDefaultCollidable(int state) const
set default collision for the material pair.
Definition OgreNewt_MaterialPair.h:57
void setDefaultElasticity(Ogre::Real elasticity) const
set default elasticity for the material pair.
Definition OgreNewt_MaterialPair.h:54
void setDefaultSurfaceThickness(float thickness) const
set the default thickness for this material pair
Definition OgreNewt_MaterialPair.h:60
void setDefaultFriction(Ogre::Real stat, Ogre::Real kinetic) const
set default friction for the material pair.
Definition OgreNewt_MaterialPair.h:63
OgreNewt::ContactCallback * m_contactcallback
Definition OgreNewt_MaterialPair.h:77
Generated by 1.9.8