Changeset 6153 for code/branches/presentation2/src/orxonox
- Timestamp:
- Nov 25, 2009, 6:04:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc
r6152 r6153 205 205 this->muzzlePosition_ = this->weapon_->getWorldPosition() + this->weapon_->getWorldOrientation() * this->muzzleOffset_; 206 206 207 Pawn* pawn = this->getWeapon()->getWeaponPack()->getWeaponSystem()->getPawn();208 207 Vector3 muzzleDirection; 209 208 muzzleDirection = target - this->muzzlePosition_;
Note: See TracChangeset
for help on using the changeset viewer.