Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 15, 2010, 6:12:13 PM (14 years ago)
Author:
gnadler
Message:

rockets get target but moveToPosition function does not work correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.h

    r6900 r6905  
    6464            virtual void rotatePitch(const Vector2& value);
    6565            virtual void rotateRoll(const Vector2& value);
     66                        void setDestroy();
    6667
    6768            /**
     
    9596            */
    9697            inline void rotatePitch(float value)
    97             { this->rotatePitch(Vector2(value, 0)); }
     98            {   COUT(0)<<"rotated rocket yaw";
     99                                this->rotatePitch(Vector2(value, 0)); }
    98100            /**
    99101            @brief Rotates the SimpleRocket around the z-axis by the specifed amount.
     
    101103            */
    102104            inline void rotateRoll(float value)
    103             { this->rotateRoll(Vector2(value, 0)); }
     105            {
     106                                COUT(0)<<"rotated rocket roll";
     107                                this->rotateRoll(Vector2(value, 0)); }
    104108
    105109            void setOwner(Pawn* owner);
Note: See TracChangeset for help on using the changeset viewer.