- Timestamp:
- Jul 12, 2010, 2:06:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/modules/weapons/weaponmodes/RocketFire.cc
r7153 r7154 66 66 rocket->setOrientation(this->getMuzzleOrientation()); 67 67 rocket->setPosition(this->getMuzzlePosition()); 68 // rocket->setVelocity(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getVelocity() + this->getMuzzleDirection() * this->speed_); 69 rocket->setVelocity(Vector3(1,0,0)); 68 rocket->setVelocity(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getVelocity() + this->getMuzzleDirection() * this->speed_); 70 69 rocket->scale(2); 71 70
Note: See TracChangeset
for help on using the changeset viewer.