- Timestamp:
- May 21, 2010, 1:06:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket2/src/modules/weapons/RocketController.cc
r6951 r6956 94 94 { 95 95 this->target_ = target; 96 C OUT(0)<<"got target\n";96 CCOUT(4) << "got target" << endl; 97 97 } 98 98 … … 118 118 //COUT(0)<<" "; 119 119 //COUT(0)<<coord.y; 120 this->getControllableEntity()->rotateYaw(- 0.8f*sgn(coord.x)*coord.x*coord.x);121 this->getControllableEntity()->rotatePitch( 0.8f*sgn(coord.y)*coord.y*coord.y);120 this->getControllableEntity()->rotateYaw(-sgn(coord.x)*coord.x*coord.x); 121 this->getControllableEntity()->rotatePitch(sgn(coord.y)*coord.y*coord.y); 122 122 // this->getControllableEntity()->rotateYaw(10); 123 123 // this->getControllableEntity()->rotatePitch(0);
Note: See TracChangeset
for help on using the changeset viewer.