Changeset 10722 in orxonox.OLD for branches/presentation/src/world_entities/weapons/nadion_laser.cc
- Timestamp:
- Jun 18, 2007, 10:05:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/nadion_laser.cc
r10721 r10722 144 144 Vector tmp = this->getDefaultTarget()->getAbsCoor() - this->getAbsCoor(); 145 145 146 pj->setVelocity(this->getParent()->getVelocity() + this->getAbsDir().apply(tmp.getNormalized())*160);146 pj->setVelocity(this->getParent()->getVelocity() + (tmp.getNormalized())*160); 147 147 148 148 pj->setAbsCoor(this->getEmissionPoint());
Note: See TracChangeset
for help on using the changeset viewer.