Changeset 6814 for code/branches/rocket/src/modules/weapons/weaponmodes
- Timestamp:
- May 1, 2010, 6:15:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r6813 r6814 65 65 66 66 67 /*this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition());68 rocket->setOrientation(this->getMuzzleOrientation());69 rocket->setPosition(this->getMuzzlePosition());70 rocket->setVelocity(this->getMuzzleDirection() * this->speed_);67 this->computeMuzzleParameters(this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn()->getAimPosition()); 68 con->getControllableEntity()->setOrientation(this->getMuzzleOrientation()); 69 con->getControllableEntity()->setPosition(this->getMuzzlePosition()); 70 /* rocket->setVelocity(this->getMuzzleDirection() * this->speed_); 71 71 rocket->scale(2); 72 72
Note: See TracChangeset
for help on using the changeset viewer.