Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2008, 11:26:16 PM (15 years ago)
Author:
landauf
Message:
  • Readded smooth camera movement (configurable through CameraPosition), works also with camera-position-changes
  • Added free mouse look (press left control key)
  • Made strength of boost-blur configurable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/objects/controllers/HumanController.cc

    r2462 r2478  
    5050    SetConsoleCommand(HumanController, use,           true);
    5151    SetConsoleCommand(HumanController, switchCamera,  true);
     52    SetConsoleCommand(HumanController, mouseLook,     true);
    5253    SetConsoleCommand(HumanController, suicide,       true);
    5354    SetConsoleCommand(HumanController, addBots,       true).defaultValues(1);
     
    142143    }
    143144
     145    void HumanController::mouseLook()
     146    {
     147        if (HumanController::localController_s && HumanController::localController_s->controllableEntity_)
     148            HumanController::localController_s->controllableEntity_->mouseLook();
     149    }
     150
    144151    void HumanController::suicide()
    145152    {
Note: See TracChangeset for help on using the changeset viewer.