Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2017, 5:39:48 PM (6 years ago)
Author:
fanconic
Message:

Changes in the Cameraorientation aswell as new objects inside the level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/CampaignMap_HS17/src/orxonox/worldentities/pawns/StoryModePawn.cc

    r11634 r11663  
    5353    void StoryModePawn::moveFrontBack(const Vector2& value)
    5454        {
     55            //this->getCamera()->setOrientation(Vector3::UNIT_X, Degree(-30));
    5556            Vector3 newPos = this->getCamera()->getPosition();
    56             newPos.y += value.x;
     57            newPos.z -= 5*value.x;
    5758            this->getCamera()->setPosition(newPos);
    5859        }
     
    6162        {   
    6263            Vector3 newPos = this->getCamera()->getPosition();
    63             newPos.x += value.x;
     64            newPos.x += 5*value.x;
    6465            this->getCamera()->setPosition(newPos);
    6566        }
Note: See TracChangeset for help on using the changeset viewer.