Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 29, 2009, 10:47:58 PM (15 years ago)
Author:
scheusso
Message:

removed unneccessary variable in Drone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/src/orxonox/worldentities/Drone.cc

    r5833 r5835  
    5555        this->auxilaryThrust_ = 100;
    5656        this->rotationThrust_ = 10;
    57         this->steering_ = Vector3::ZERO;
    5857       
    5958        this->setCollisionType(WorldEntity::Dynamic);
     
    122121    {
    123122        this->localLinearAcceleration_.setZ(this->localLinearAcceleration_.z() - value.x);
    124         this->steering_.z = -value.x;
    125123    }
    126124
     
    134132    {
    135133        this->localLinearAcceleration_.setX(this->localLinearAcceleration_.x() + value.x);
    136         this->steering_.x = value.x;
    137134    }
    138135
     
    146143    {
    147144        this->localLinearAcceleration_.setY(this->localLinearAcceleration_.y() + value.x);
    148         this->steering_.y = value.x;
    149145    }
    150146
Note: See TracChangeset for help on using the changeset viewer.