Changeset 1822 for code/trunk/src/orxonox
- Timestamp:
- Sep 22, 2008, 6:01:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/Projectile.cc
r1789 r1822 54 54 this->smokeTemplateName_ = "Orxonox/smoke4"; 55 55 56 this->setStatic(false); 57 this->translate(Vector3(55, 0, 0), Ogre::Node::TS_LOCAL); 58 56 59 if (this->owner_) 57 60 { 58 this->set Static(false);61 this->setPosition(this->owner_->getPosition()); 59 62 this->setOrientation(this->owner_->getOrientation()); 60 this->setPosition(this->owner_->getPosition());61 this->translate(Vector3(55, 0, 0), Ogre::Node::TS_LOCAL);62 63 this->setVelocity(this->owner_->getInitialDir() * this->speed_); 63 64 }
Note: See TracChangeset
for help on using the changeset viewer.