SO3Engine
|
SO3Physics.h
Go to the documentation of this file.
67 } MCOLL;
81 } MRAYINFO;
94 } MIMPULSEDATA;
217 SBody* PhysicsRayCast(const Ogre::Vector3& src, const Ogre::Vector3& dir, const Ogre::Real& maxdist, Ogre::Real& hitdistance, Ogre::Vector3& hitnormal);
221 std::vector<MRAYINFO> PhysicsRayCast(const Ogre::Vector3& src, const Ogre::Vector3& dir, const Ogre::Real& maxdist);
311 static void PreUpdate(const NewtonWorld* const world, void* const listenerUserData, dFloat timestep);
312 static void PostUpdate(const NewtonWorld* const world, void* const listenerUserData, dFloat timestep);
librairies include
Definition SO3Body.h:43
Definition SO3MaterialID.h:45
Definition SO3MaterialPair.h:43
Definition SO3PhysicContraint.h:42
Definition SO3Physics.h:100
SMaterialPair * CreatePhysicMaterialPair(SMaterialID *mat1, SMaterialID *mat2)
Definition SO3Physics.cpp:574
static void PostUpdate(const NewtonWorld *const world, void *const listenerUserData, dFloat timestep)
Definition SO3Physics.cpp:112
SMaterialPairMap listOfPhysicsMaterialPair
Definition SO3Physics.h:103
static int ImpulsePointCallback(const NewtonBody *const body, void *const userData)
Definition SO3Physics.cpp:773
void SetPhysicWorldSize(const Ogre::Vector3 &minsize, const Ogre::Vector3 &maxsize)
Definition SO3Physics.cpp:517
void LeaveWorldCallBack(OgreNewt::Body *, int threadIndex)
Definition SO3Physics.cpp:590
static void PreUpdate(const NewtonWorld *const world, void *const listenerUserData, dFloat timestep)
Definition SO3Physics.cpp:103
void AddBodyPair(std::string name, SBody **pair)
Definition SO3Physics.cpp:624
void SetPhysicDebugEnable(const bool &enable)
Definition SO3Physics.cpp:153
void UpdatePhysic(const float &frameTime)
Definition SO3Physics.cpp:186
void AddPhysicContraint(SPhysicContraint *contraint)
Definition SO3Physics.cpp:670
SMaterialID * CreatePhysicMaterialID(const std::string &materialIdName)
Definition SO3Physics.cpp:530
void ClearContactOverlapStart()
Definition SO3Physics.cpp:717
void SetPhysicPlatformArchitecture(const int &mod)
Definition SO3Physics.cpp:421
void SetPhysicSolverModel(const int &mod)
Definition SO3Physics.cpp:410
void GetPhysicWorldSize(Ogre::Vector3 &minsize, Ogre::Vector3 &maxsize)
Definition SO3Physics.cpp:523
void SetContactActivated(SBody *b0, SBody *b1, MCOLL *coll)
Definition SO3Physics.cpp:755
bool GetBodyPairExist(SBody *b0, SBody *b1)
Definition SO3Physics.cpp:611
void SetPhysicWorldEnable(const bool &enable)
Definition SO3Physics.cpp:127
void SetResetPhysicWorld(const bool &state)
Definition SO3Physics.cpp:464
void ApplyImpulsePoint(Ogre::Vector3 pos, Ogre::Real radius, Ogre::Real strength)
Definition SO3Physics.cpp:805
void RemovePhysicContraint(SPhysicContraint *contraint)
Definition SO3Physics.cpp:675
OgreNewt::Debugger * GetPhysicDebugger()
Definition SO3Physics.cpp:181
PhysicContraintList GetPhysicContraintList()
Definition SO3Physics.cpp:681
int GetPhysicPlatformArchitecture()
Definition SO3Physics.cpp:426
void SetPhysicBodiesInitialState()
Definition SO3Physics.cpp:394
SBody * PhysicsRayCast(const Ogre::Vector3 &src, const Ogre::Vector3 &dir, const Ogre::Real &maxdist, Ogre::Real &hitdistance, Ogre::Vector3 &hitnormal)
Definition SO3Physics.cpp:469
void RemoveBodyContraint(SBody *body)
Definition SO3Physics.cpp:697
void SetPhysicGravity(const Ogre::Vector3 &gravity)
Definition SO3Physics.cpp:432
void AddContactOverlapStart(std::string name, MCOLL *coll)
Definition SO3Physics.cpp:733
void DeletePhysicMaterialID(SMaterialID *matID)
Definition SO3Physics.cpp:539
void DeletePhysicMaterialPair(SMaterialPair *matpair)
Definition SO3Physics.cpp:583
Definition SO3Scene.h:125
Definition SO3DataScol.h:38
std::unordered_set< SMaterialPair * > SMaterialPairMap
Definition SO3Prerequisites.h:272
std::set< SPhysicContraint * > PhysicContraintList
Definition SO3Physics.h:98
std::unordered_map< std::string, MCOLL * > PhysicContactMap
Definition SO3Physics.h:97
std::unordered_map< std::string, SMaterialID * > SMaterialIDMap
Definition SO3Prerequisites.h:271
Definition SO3Physics.h:46
Definition SO3Physics.h:84
Definition SO3Physics.h:70
Generated by 1.9.8