Physics System. More...
#include <dePhysicsSystem.h>
Public Member Functions | |
Constructors and Destructors | |
| dePhysicsSystem (deEngine *engine) | |
| Creates a new physics system linked to the given engine. | |
| ~dePhysicsSystem () | |
| Cleans up the physics system. | |
Management | |
| deBasePhysicsModule * | GetActiveModule () const |
| void | LoadComponent (deComponent *component) |
| Creates the peer object for the given component using the active module and assigns it. | |
| void | LoadModel (deModel *model) |
| Creates the peer object for the given model using the active module and assigns it. | |
| void | LoadSkin (deSkin *skin) |
| Creates the peer object for the given skin using the active module and assigns it. | |
| void | LoadRig (deRig *rig) |
| Creates the peer object for the given rig using the active module and assigns it. | |
| void | LoadWorld (deWorld *world) |
| Creates the peer object for the given world using the active module and assigns it. | |
| void | LoadCollider (deCollider *collider) |
| Creates the peer object for the given collider using the active module and assigns it. | |
| void | LoadDecal (deDecal *decal) |
| Creates the peer object for the given decal using the active module and assigns it. | |
| void | LoadTouchSensor (deTouchSensor *touchSensor) |
| Creates the peer object for the given touch sensor using the active module and assigns it. | |
| void | LoadHeightTerrain (deHeightTerrain *heightTerrain) |
| Creates the peer object for the given height terrain using the active module and assigns it. | |
| void | LoadPropField (dePropField *propField) |
| Creates the peer object for the given prop field using the active module and assigns it. | |
| void | LoadForceField (deForceField *forceField) |
| Creates the peer object for the given force field using the active module and assigns it. | |
| void | LoadParticleEmitter (deParticleEmitter *emitter) |
| Creates the peer for the particle emitter using the active module and assigns it. | |
| void | LoadSmokeEmitter (deSmokeEmitter *smokeEmitter) |
| Creates the peer for the smoke emitter using the active module and assigns it. | |
Overloadables | |
| virtual void | SetActiveModule (deLoadableModule *module) |
| Sets the active loadable module. | |
| virtual void | ClearPermanents () |
| Clears cross references and links that could lead to memory leaks. | |
| virtual void | PostStart () |
| Carry out here actions right after the system started up. | |
| virtual void | PreStop () |
| Carry out here actions right before the system shuts down. | |
Notifications | |
| virtual void | TexturePropertyMapChanged () |
| Texture property map changed. | |
Physics System.
Provides physical simulation support.
| dePhysicsSystem::dePhysicsSystem | ( | deEngine * | engine ) |
Creates a new physics system linked to the given engine.
| dePhysicsSystem::~dePhysicsSystem | ( | ) |
Cleans up the physics system.
| virtual void dePhysicsSystem::ClearPermanents | ( | ) | [virtual] |
Clears cross references and links that could lead to memory leaks.
Do not forget to call the super function.
Reimplemented from deBaseSystem.
| deBasePhysicsModule* dePhysicsSystem::GetActiveModule | ( | ) | const [inline] |
| void dePhysicsSystem::LoadCollider | ( | deCollider * | collider ) |
Creates the peer object for the given collider using the active module and assigns it.
| void dePhysicsSystem::LoadComponent | ( | deComponent * | component ) |
Creates the peer object for the given component using the active module and assigns it.
| void dePhysicsSystem::LoadDecal | ( | deDecal * | decal ) |
Creates the peer object for the given decal using the active module and assigns it.
| void dePhysicsSystem::LoadForceField | ( | deForceField * | forceField ) |
Creates the peer object for the given force field using the active module and assigns it.
| void dePhysicsSystem::LoadHeightTerrain | ( | deHeightTerrain * | heightTerrain ) |
Creates the peer object for the given height terrain using the active module and assigns it.
| void dePhysicsSystem::LoadModel | ( | deModel * | model ) |
Creates the peer object for the given model using the active module and assigns it.
| void dePhysicsSystem::LoadParticleEmitter | ( | deParticleEmitter * | emitter ) |
Creates the peer for the particle emitter using the active module and assigns it.
| void dePhysicsSystem::LoadPropField | ( | dePropField * | propField ) |
Creates the peer object for the given prop field using the active module and assigns it.
| void dePhysicsSystem::LoadRig | ( | deRig * | rig ) |
Creates the peer object for the given rig using the active module and assigns it.
| void dePhysicsSystem::LoadSkin | ( | deSkin * | skin ) |
Creates the peer object for the given skin using the active module and assigns it.
| void dePhysicsSystem::LoadSmokeEmitter | ( | deSmokeEmitter * | smokeEmitter ) |
Creates the peer for the smoke emitter using the active module and assigns it.
| void dePhysicsSystem::LoadTouchSensor | ( | deTouchSensor * | touchSensor ) |
Creates the peer object for the given touch sensor using the active module and assigns it.
| void dePhysicsSystem::LoadWorld | ( | deWorld * | world ) |
Creates the peer object for the given world using the active module and assigns it.
| virtual void dePhysicsSystem::PostStart | ( | ) | [virtual] |
Carry out here actions right after the system started up.
Reimplemented from deBaseSystem.
| virtual void dePhysicsSystem::PreStop | ( | ) | [virtual] |
Carry out here actions right before the system shuts down.
Reimplemented from deBaseSystem.
| virtual void dePhysicsSystem::SetActiveModule | ( | deLoadableModule * | module ) | [virtual] |
Sets the active loadable module.
Do not forget to call the super function.
Reimplemented from deBaseSystem.
| virtual void dePhysicsSystem::TexturePropertyMapChanged | ( | ) | [virtual] |
Texture property map changed.
Reimplemented from deBaseSystem.
1.7.2