Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6144 for code


Ignore:
Timestamp:
Nov 25, 2009, 1:52:15 PM (15 years ago)
Author:
wirthmi
Message:

New input mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/orxonox/controllers/NewHumanController.cc

    r6143 r6144  
    138138        if (firemode == 1 && this->controlMode_ == 1) {
    139139            //unlocked steering, steer on right mouse click
    140             //HumanController::yaw(new Vector2(this->currentYaw_, 0));
    141             //HumanController::pitch(new Vector2(this->currentPitch_, 0));
     140            HumanController::yaw(Vector2(this->currentYaw_, 0));
     141            HumanController::pitch(Vector2(this->currentPitch_, 0));
    142142        }
    143143        else {
     
    245245            HumanController::pitch(value);
    246246
    247 std::cout << value << endl;
    248 
    249247        this->currentPitch_ = value.x;
    250248    }
Note: See TracChangeset for help on using the changeset viewer.