Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 17, 2008, 3:05:27 PM (17 years ago)
Author:
FelixSchulthess
Message:

added speedometer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud3/src/orxonox/objects/SpaceShip.cc

    r1310 r1314  
    270270      camName_=camera;
    271271      // change camera attributes here, if you want to ;)
    272       Quaternion q1 = Quaternion(Radian(Degree(90)),Vector3(0,-1,0));
    273       Quaternion q2 = Quaternion(Radian(Degree(90)),Vector3(0,0,-1));
    274       //camNode_->setOrientation(q1*q2);
    275272    }
    276273
     
    298295      cam_->setTargetNode(this->getNode());
    299296//        cam->setPosition(Vector3(0,-350,0));
     297      Quaternion q1 = Quaternion(Radian(Degree(90)),Vector3(0,-1,0));
     298      Quaternion q2 = Quaternion(Radian(Degree(90)),Vector3(0,0,-1));
     299      //camNode_->setOrientation(q1*q2);
    300300      if(network::Client::getSingleton()!=0 && network::Client::getSingleton()->getShipID()==objectID){
    301301        this->setBacksync(true);
     
    448448    }
    449449
     450    float SpaceShip::getMaxSpeed() { return maxSpeed_; }
     451
    450452    void SpaceShip::tick(float dt)
    451453    {
Note: See TracChangeset for help on using the changeset viewer.