Changeset 654 for code/branches/FICN/src/orxonox/objects
- Timestamp:
- Dec 19, 2007, 12:41:31 PM (17 years ago)
- 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 55 55 secondaryFiringRate_ = 1.0/2.0; 56 56 primaryBulletSpeed_ = 800; 57 secondaryBulletSpeed_ = 300;57 secondaryBulletSpeed_ = 500; 58 58 magazineSize_ = 25; 59 59 } … … 84 84 speed += getVelocity(); 85 85 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)); 88 88 89 89 Bullet* bullet = new Bullet(); … … 126 126 speed += getVelocity(); 127 127 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)); 130 130 131 131 Bullet* bullet = new Bullet(); -
code/branches/FICN/src/orxonox/objects/weapon_system/bullet_manager.cc
r637 r654 81 81 { 82 82 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)); 85 85 } 86 86 }
Note: See TracChangeset
for help on using the changeset viewer.