Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3537 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Mar 14, 2005, 12:12:12 AM (20 years ago)
Author:
patrick
Message:

orxonox/trank: worked on removing alg. from pnode and changed a little on camera for the new tackmanager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r3535 r3537  
    219219            this->localCamera->setName ("camera");
    220220            this->localCamera->bind (myPlayer);
    221             this->localPlayer->addChild (this->localCamera);
    222221            /*monitor progress*/
    223222            this->glmis->step();           
     
    248247            //      trackManager->setBindSlave(env);
    249248            TrackNode::getInstance()->addChild(myPlayer);
    250             localCamera->setParent(TrackNode::getInstance());
     249            //localCamera->setParent(TrackNode::getInstance());
     250            this->localPlayer->addChild (this->localCamera);
     251            Vector* cameraOffset = new Vector (0, 5, -10);
     252            this->localCamera->setRelCoor (cameraOffset);
    251253            trackManager->condition(1, NEAREST, myPlayer);
    252254
Note: See TracChangeset for help on using the changeset viewer.