Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 21, 2010, 1:06:59 PM (14 years ago)
Author:
scheusso
Message:

further improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket2/src/modules/weapons/RocketController.cc

    r6951 r6956  
    9494    {
    9595        this->target_ = target;
    96         COUT(0)<<"got target\n";
     96        CCOUT(4) << "got target" << endl;
    9797    }
    9898
     
    118118        //COUT(0)<<"  ";
    119119        //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);
    122122//         this->getControllableEntity()->rotateYaw(10);
    123123//         this->getControllableEntity()->rotatePitch(0);
Note: See TracChangeset for help on using the changeset viewer.