Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2018, 3:47:08 PM (7 years ago)
Author:
sehirsch
Message:

updated camera and cube pattern

Location:
code/branches/OrxyRoad_FS18/src/modules/orxyroad
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoad.cc

    r11916 r11934  
    9191    void OrxyRoad::tick(float dt)
    9292    {
     93        SUPER(OrxyRoad, tick, dt);
     94       
    9395        OrxyRoadShip* player = this->getPlayer();
    9496        if (player != nullptr)
     
    148150
    149151        }
    150         SUPER(OrxyRoad, tick, dt);
    151152    }
    152153
  • code/branches/OrxyRoad_FS18/src/modules/orxyroad/OrxyRoadShip.cc

    r11908 r11934  
    144144        if (camera != nullptr)
    145145        {
    146             //camera->setPosition(Vector3(pos1.x - 10 ,50,0));
     146           camera->setPosition(Vector3(0 ,50,50)); // try to get side/top view
    147147            //camera->setOrientation(Vector3(-1,-1,0), Degree(45));
    148148            //camera->setOrientation(Vector3(-1,-1,-1), Degree(0));
Note: See TracChangeset for help on using the changeset viewer.