Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2009, 12:57:06 AM (14 years ago)
Author:
scheusso
Message:

first attempts to have synchronised fire direction and target
however client cannot select targets yet (probably because of classtreemask hack)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/weaponsystem/WeaponMode.cc

    r6111 r6112  
    211211                muzzleDirection = pawn->getAimPosition() - this->muzzlePosition_;
    212212//             COUT(0) << "muzzleDirection " << muzzleDirection << endl;
    213                 //this->muzzleOrientation_ = this->weapon_->getWorldOrientation();
    214213            this->muzzleOrientation_ = (this->weapon_->getWorldOrientation() * WorldEntity::FRONT).getRotationTo(muzzleDirection) * this->weapon_->getWorldOrientation();
    215214        }
Note: See TracChangeset for help on using the changeset viewer.