Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3334 for code/trunk/src


Ignore:
Timestamp:
Jul 22, 2009, 4:05:08 PM (15 years ago)
Author:
Naaduun
Message:

=Fixed a camera bug in map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/overlays/map/Map.cc

    r3325 r3334  
    333333                    this->Cam_->setPosition(0, 0, DISTANCE);
    334334                    this->Cam_->pitch( static_cast<Degree>(PITCH) );
    335                     this->Cam_->lookAt(Vector3(0,0,0));
     335                    this->Cam_->lookAt(this->playerShipNode_->getPosition());
    336336                //this->Cam_->setAutoTracking(true, this->playerShipNode_);
    337337                }
Note: See TracChangeset for help on using the changeset viewer.