Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 27, 2005, 10:38:19 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/ll2trunktemp: displays the player, and the ground again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/ll2trunktemp/src/story_entities/world.cc

    r3989 r3992  
    452452  this->skySphere->setName("SkySphere");
    453453  this->localCamera->addChild(this->skySphere);
    454   this->skySphere->setMode(PNODE_MOVEMENT);
     454  spawn(skySphere);
    455455 
    456456 
     
    461461  //localCamera->setParent(TrackNode::getInstance());
    462462  tn->addChild(this->localCamera);
    463   //        localCamera->lookAt(tn);
     463  localCamera->lookAt(tn);
    464464  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);
    467467 
    468468  // initialize debug coord system
     
    836836        }
    837837      delete iterator;
    838       //skySphere->updatePosition(localCamera->absCoordinate);
    839      
     838
    840839      /* 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);
    843842      this->garbageCollector->tick(seconds);
    844843
Note: See TracChangeset for help on using the changeset viewer.