Changeset 10238 for code/branches/presentationHS14merge/src
- Timestamp:
- Feb 1, 2015, 6:42:19 PM (10 years ago)
- Location:
- code/branches/presentationHS14merge
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS14merge
- Property svn:mergeinfo changed
/code/branches/weaponupdateHS14 (added) merged: 10084,10098,10102,10113,10120,10133,10137,10150,10155,10169,10177-10178
- Property svn:mergeinfo changed
-
code/branches/presentationHS14merge/src/modules/weapons/RocketController.cc
r9667 r10238 41 41 namespace orxonox 42 42 { 43 RegisterClass(RocketController); 44 43 45 /** 44 46 @brief … … 97 99 if (distance > 1000 && this->rocket_->getVelocity().squaredLength()<160000) 98 100 this->rocket_->setAcceleration(this->rocket_->getOrientation()*Vector3(-20,-20,-20)); 99 if (distance < 1000) this->rocket_->setAcceleration(0,0,0);101 if (distance < 1000) this->rocket_->setAcceleration(0,0,0); 100 102 101 103 this->rocket_->rotateYaw(-sgn(coord.x)*coord.x*coord.x);
Note: See TracChangeset
for help on using the changeset viewer.