Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 31, 2007, 10:53:51 PM (17 years ago)
Author:
rgrieder
Message:
 
Location:
code/branches/main_reto
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto

    • Property svn:ignore set to
      media
      bin
      obj
  • code/branches/main_reto/src/OrxonoxShip.cpp

    r133 r136  
    33
    44OrxonoxShip::OrxonoxShip(SceneManager *mSceneMgr, SceneNode *mNode)
    5         : mSceneMgr(mSceneMgr), mRootNode(mNode), speed(Vector3(0, 0, 0)), baseThrust(100), thrust(0), sideThrust(0), n(0),
     5        : mSceneMgr(mSceneMgr), mRootNode(mNode), speed(Vector3(0, 0, 0)), baseThrust(1000), thrust(0), sideThrust(0), n(0),
    66        bulletSpeed(400)
    77{
     
    7777{
    7878        speed += (mRootNode->getLocalAxes() * Vector3(0, 0, -1)).normalisedCopy() * thrust * deltaTime;
    79         speed += (mRootNode->getLocalAxes() * Vector3(1, 0,  0)).normalisedCopy() * sideThrust * deltaTime;
     79        speed += (mRootNode->getLocalAxes() * Vector3(-1, 0,  0)).normalisedCopy() * sideThrust * deltaTime;
    8080
    8181        mRootNode->translate(speed * deltaTime);
Note: See TracChangeset for help on using the changeset viewer.