Changeset 2924 for code/branches
- Timestamp:
- Apr 18, 2009, 7:28:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapons/src/orxonox/objects/weaponsystem/WeaponMode.cc
r2919 r2924 198 198 { 199 199 if (this->weapon_) 200 return (this->weapon_->getWorldPosition() + this-> muzzleOffset_);200 return (this->weapon_->getWorldPosition() + this->weapon_->getWorldOrientation() * this->muzzleOffset_); 201 201 else 202 202 return this->muzzleOffset_;
Note: See TracChangeset
for help on using the changeset viewer.