Changeset 4183 in orxonox.OLD for orxonox/branches/physics/src/story_entities
- Timestamp:
- May 14, 2005, 2:50:25 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/physics/src/story_entities/world.cc
r4178 r4183 48 48 49 49 #include "animation3d.h" 50 #include "physics_engine.h" 51 #include "gravity.h" 50 52 51 53 #include "substring.h" … … 207 209 TextEngine::getInstance()->flush(); 208 210 211 delete PhysicsEngine::getInstance(); 209 212 delete AnimationPlayer::getInstance(); // this should be at the end of the unloading sequence. 210 213 //delete garbagecollecor … … 255 258 256 259 AnimationPlayer::getInstance(); // initializes the animationPlayer 260 PhysicsEngine::getInstance(); 257 261 258 262 this->localCamera = new Camera(); … … 496 500 emitter->setParent(this->localPlayer); 497 501 502 Gravity* gravity = new Gravity(); 503 gravity->setMagnitude(0.001); 504 new PhysicsConnection(system, gravity); 505 498 506 particleEngine->addConnection(emitter, system); 499 507 } … … 1145 1153 1146 1154 AnimationPlayer::getInstance()->tick(this->dtS); 1155 PhysicsEngine::getInstance()->tick(this->dtS); 1156 1147 1157 particleEngine->tick(this->dtS); 1148 1158 }
Note: See TracChangeset
for help on using the changeset viewer.