[Orxonox-commit 813] r3334 - trunk/src/orxonox/overlays/map
Naaduun at orxonox.net
Naaduun at orxonox.net
Wed Jul 22 16:05:08 CEST 2009
Author: Naaduun
Date: 2009-07-22 16:05:08 +0200 (Wed, 22 Jul 2009)
New Revision: 3334
Modified:
trunk/src/orxonox/overlays/map/Map.cc
Log:
=Fixed a camera bug in map
Modified: trunk/src/orxonox/overlays/map/Map.cc
===================================================================
--- trunk/src/orxonox/overlays/map/Map.cc 2009-07-22 11:00:46 UTC (rev 3333)
+++ trunk/src/orxonox/overlays/map/Map.cc 2009-07-22 14:05:08 UTC (rev 3334)
@@ -332,7 +332,7 @@
//this->CamNodeHelper_->attachObject(this->Cam_);
this->Cam_->setPosition(0, 0, DISTANCE);
this->Cam_->pitch( static_cast<Degree>(PITCH) );
- this->Cam_->lookAt(Vector3(0,0,0));
+ this->Cam_->lookAt(this->playerShipNode_->getPosition());
//this->Cam_->setAutoTracking(true, this->playerShipNode_);
}
}
More information about the Orxonox-commit
mailing list