Changeset 3992 in orxonox.OLD for orxonox/branches/ll2trunktemp/src/story_entities/world.cc
- Timestamp:
- Apr 27, 2005, 10:38:19 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/ll2trunktemp/src/story_entities/world.cc
r3989 r3992 452 452 this->skySphere->setName("SkySphere"); 453 453 this->localCamera->addChild(this->skySphere); 454 this->skySphere->setMode(PNODE_MOVEMENT);454 spawn(skySphere); 455 455 456 456 … … 461 461 //localCamera->setParent(TrackNode::getInstance()); 462 462 tn->addChild(this->localCamera); 463 //localCamera->lookAt(tn);463 localCamera->lookAt(tn); 464 464 this->localPlayer->setMode(PNODE_ALL); 465 //Vector* cameraOffset = new Vector (0, 5, -10);466 //trackManager->condition(2, LEFTRIGHT, this->localPlayer);465 Vector* cameraOffset = new Vector (0, 5, -10); 466 trackManager->condition(2, LEFTRIGHT, this->localPlayer); 467 467 468 468 // initialize debug coord system … … 836 836 } 837 837 delete iterator; 838 //skySphere->updatePosition(localCamera->absCoordinate); 839 838 840 839 /* update tick the rest */ 841 //this->trackManager->tick(this->dt);842 //this->localCamera->tick(this->dt);840 this->trackManager->tick(this->dt); 841 this->localCamera->tick(this->dt); 843 842 this->garbageCollector->tick(seconds); 844 843
Note: See TracChangeset
for help on using the changeset viewer.