Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 29, 2018, 3:57:54 PM (6 years ago)
Author:
arismu
Message:

Changed velocity bots, steering stabilized

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/RacingBots_FS18/src/orxonox/worldentities/pawns/SpaceShip.h

    r11052 r11840  
    103103            */
    104104            virtual void moveFrontBack(const Vector2& value)
    105                 { this->steering_.z -= value.x; }
     105                { this->steering_.z -= (0.8)*value.x; }
    106106            /**
    107107            @brief Move right or left.
     
    109109            */
    110110            virtual void moveRightLeft(const Vector2& value)
    111                 { this->steering_.x += value.x; }
     111                { this->steering_.x += (0.6)*value.x; }
    112112            /**
    113113            @brief Move up or down.
     
    115115            */
    116116            virtual void moveUpDown(const Vector2& value)
    117                 { this->steering_.y += value.x; }
     117                { this->steering_.y += (0.6)*value.x; }
    118118
    119119            virtual void rotateYaw(const Vector2& value); // Rotate in yaw direction.
Note: See TracChangeset for help on using the changeset viewer.