Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2014, 2:10:51 PM (10 years ago)
Author:
sriedel
Message:

Level files added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/surfaceraceHS14/src/modules/dodgerace2/DodgeRaceShip.cc

    r10124 r10127  
    9696        {
    9797            camera->setPosition(Vector3(-pos.z, -posforeward, 0));
    98             camera->setOrientation(Vector3::UNIT_Z, Degree(90));
     98            camera->setOrientation(Vector3::UNIT_Z, Degree(0));
    9999        }
    100100
     
    127127    void DodgeRaceShip::moveFrontBack(const Vector2& value)
    128128    {
    129         lastTimeLeft = 0;
    130         desiredVelocity.x = -value.x * speed;
     129        //lastTimeFront = 0;
     130        //desiredVelocity.y = value.y * speed * 42;
     131
    131132    }
    132133
    133134    void DodgeRaceShip::moveRightLeft(const Vector2& value)
    134135    {
    135         lastTimeFront = 0;
    136         desiredVelocity.y = value.y * speed * 42;
     136        lastTimeLeft = 0;
     137        desiredVelocity.x = -value.x * speed;
    137138    }
    138139    void DodgeRaceShip::boost(bool bBoost)
Note: See TracChangeset for help on using the changeset viewer.