Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2008, 11:26:16 PM (16 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
Location:
code/branches/objecthierarchy2/src/orxonox/objects/controllers
Files:
2 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    {
  • code/branches/objecthierarchy2/src/orxonox/objects/controllers/HumanController.h

    r2462 r2478  
    5858            static void use();
    5959            static void switchCamera();
     60            static void mouseLook();
    6061
    6162            static void suicide();
Note: See TracChangeset for help on using the changeset viewer.