Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2007, 2:41:01 AM (18 years ago)
Author:
landauf
Message:

added a simple firing mode to SpaceShip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/WorldEntity.cc

    r637 r643  
    7575        {
    7676            this->velocity_ += (dt * this->acceleration_);
    77             this->translate(dt * this->velocity_);
     77            this->translate(dt * this->velocity_, Ogre::Node::TS_LOCAL);
    7878
    7979            this->rotationRate_ += (dt * this->momentum_);
     
    151151
    152152        create();
    153        
     153
    154154    }
    155155
     
    158158      return true;
    159159    }
    160    
     160
    161161    void WorldEntity::registerAllVariables()
    162162    {
Note: See TracChangeset for help on using the changeset viewer.