Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 654


Ignore:
Timestamp:
Dec 19, 2007, 12:41:31 PM (17 years ago)
Author:
rgrieder
Message:
  • removed barrel rotation
Location:
code/branches/FICN/src/orxonox/objects/weapon_system
Files:
2 edited

Legend:

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

    r645 r654  
    5555    secondaryFiringRate_ = 1.0/2.0;
    5656    primaryBulletSpeed_ = 800;
    57     secondaryBulletSpeed_ = 300;
     57    secondaryBulletSpeed_ = 500;
    5858    magazineSize_ = 25;
    5959  }
     
    8484    speed += getVelocity();
    8585
    86           temp->setScale(Vector3(1, 1, 1) * 2);
    87           temp->yaw(Degree(-90));
     86          temp->setScale(Vector3(1, 1, 1) * 1.5);
     87    temp->roll(Degree(90));
    8888
    8989    Bullet* bullet = new Bullet();
     
    126126    speed += getVelocity();
    127127
    128           temp->setScale(Vector3(1, 1, 1) * 4);
    129           temp->yaw(Degree(-90));
     128          temp->setScale(Vector3(1, 1, 1) * 3);
     129          temp->roll(Degree(90));
    130130
    131131    Bullet* bullet = new Bullet();
  • code/branches/FICN/src/orxonox/objects/weapon_system/bullet_manager.cc

    r637 r654  
    8181    {
    8282      bullets_[i]->getNode()->translate(bullets_[i]->getVelocity()*dt);
    83       bullets_[i]->getNode()->yaw(Degree(dt*100));
    84       bullets_[i]->getNode()->roll(Degree(dt*300));
     83      //bullets_[i]->getNode()->yaw(Degree(dt*100));
     84      //bullets_[i]->getNode()->roll(Degree(dt*300));
    8585    }
    8686  }
Note: See TracChangeset for help on using the changeset viewer.