Changeset 6112 for code/branches/presentation2/src/orxonox/weaponsystem
- Timestamp:
- Nov 21, 2009, 12:57:06 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc
r6111 r6112 211 211 muzzleDirection = pawn->getAimPosition() - this->muzzlePosition_; 212 212 // COUT(0) << "muzzleDirection " << muzzleDirection << endl; 213 //this->muzzleOrientation_ = this->weapon_->getWorldOrientation();214 213 this->muzzleOrientation_ = (this->weapon_->getWorldOrientation() * WorldEntity::FRONT).getRotationTo(muzzleDirection) * this->weapon_->getWorldOrientation(); 215 214 }
Note: See TracChangeset
for help on using the changeset viewer.