Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2017, 4:06:44 PM (8 years ago)
Author:
vyang
Message:

Projektile fliegen in 2D Ebene, jedoch in eine falsche Richtung. Kommentare hinzugefuegt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Asteroid_HS17/src/modules/asteroids2D/Asteroids2DShip.h

    r11645 r11660  
    6060            virtual void tick(float dt) override;
    6161
    62             // Starts or stops fireing
    63             virtual void boost(bool bBoost) override;
    64 
    6562            //no rotation in x and z direction!
    66             //virtual void rotateYaw(const Vector2& value) override{}; // Rotate in yaw direction.
    6763            virtual void rotatePitch(const Vector2& value) override{}; // Rotate in pitch direction.
    6864            virtual void rotateRoll(const Vector2& value) override{}; // Rotate in roll direction.
    69 
     65            virtual void boost(bool boost) override;
    7066            virtual void updateLevel();
    7167
    7268            virtual inline bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override;
    7369
    74             float speed, damping, posforeward;
     70            float speed, damping;
    7571            bool isFireing;
    7672            void showposition();
     73            void showorientation();
    7774            void toggleImmune()
    7875            {
Note: See TracChangeset for help on using the changeset viewer.