Changeset 2391 for code/branches/weapon2/src/orxonox/objects/worldentities
- Timestamp:
- Dec 10, 2008, 5:30:39 PM (16 years ago)
- 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 75 75 { 76 76 this->velocity_ += (dt * this->acceleration_); 77 this->node_->translate(dt * this->velocity_ );77 this->node_->translate(dt * this->velocity_, Ogre::Node::TS_LOCAL); 78 78 79 79 this->rotationRate_ += (dt * this->momentum_); -
code/branches/weapon2/src/orxonox/objects/worldentities/pawns/Pawn.cc
r2379 r2391 153 153 { 154 154 COUT(0) << "Pawn::setWeaponSlot" << std::endl; 155 this->attach(wSlot); 155 156 this->weaponSystem_->attachWeaponSlot(wSlot); } 157 156 158 WeaponSlot * Pawn::getWeaponSlot(unsigned int index) const 157 159 { return this->weaponSystem_->getWeaponSlotPointer(index); }
Note: See TracChangeset
for help on using the changeset viewer.