Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 5:30:39 PM (15 years ago)
Author:
polakma
Message:

fixed projectile, particle effect, reloadingTimer and magazineTimer

Location:
code/branches/weapon2/src/orxonox/objects/worldentities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapon2/src/orxonox/objects/worldentities/MovableEntity.cc

    r2087 r2391  
    7575        {
    7676            this->velocity_ += (dt * this->acceleration_);
    77             this->node_->translate(dt * this->velocity_);
     77            this->node_->translate(dt * this->velocity_, Ogre::Node::TS_LOCAL);
    7878
    7979            this->rotationRate_ += (dt * this->momentum_);
  • code/branches/weapon2/src/orxonox/objects/worldentities/pawns/Pawn.cc

    r2379 r2391  
    153153    {   
    154154COUT(0) << "Pawn::setWeaponSlot" << std::endl;
     155        this->attach(wSlot);
    155156        this->weaponSystem_->attachWeaponSlot(wSlot);   }
     157
    156158    WeaponSlot * Pawn::getWeaponSlot(unsigned int index) const
    157159    {   return this->weaponSystem_->getWeaponSlotPointer(index);    }
Note: See TracChangeset for help on using the changeset viewer.