Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 18, 2005, 11:16:13 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: camera looks into the right direction, as it shoul be.

File:
1 edited

Legend:

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

    r3851 r3864  
    321321            this->localCamera = new Camera();
    322322            this->localCamera->setName ("camera");
    323             this->localCamera->lookAt(this->localPlayer);
    324             this->localCamera->setParent(this->localPlayer);
    325323           
    326324            /*monitor progress*/
     
    360358            PNode* tn = trackManager->getTrackNode();
    361359            tn->addChild(this->localPlayer);
     360            this->localCamera->lookAt(tn);
    362361
    363362            //localCamera->setParent(TrackNode::getInstance());
Note: See TracChangeset for help on using the changeset viewer.