Changeset 10722 in orxonox.OLD for branches/presentation/src/world_entities/weapons/rf_cannon.cc
- Timestamp:
- Jun 18, 2007, 10:05:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/rf_cannon.cc
r10719 r10722 138 138 Vector tmp = this->getDefaultTarget()->getAbsCoor() - this->getAbsCoor(); 139 139 140 pj->setVelocity(this->getParent()->getVelocity() + this->getAbsDir().apply(tmp.getNormalized())*190);140 pj->setVelocity(this->getParent()->getVelocity() + (tmp.getNormalized())*190); 141 141 142 142 pj->setAbsCoor(this->emissionPoint[this->activeBarrel]->getAbsCoor());
Note: See TracChangeset
for help on using the changeset viewer.