Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6248 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities


Ignore:
Timestamp:
Dec 21, 2005, 4:09:58 PM (19 years ago)
Author:
bknecht
Message:

Control: Dynamic camera is now finished

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/camera.cc

    r6222 r6248  
    207207  Vector up = this->getAbsDirV();
    208208  Vector delay = Vector(0,0,0);
    209   if( currentMode != VIEW_FRONT) delay = (this->target->getAbsDirX() * this->target->getSpeed())/30;
     209  if( currentMode != VIEW_FRONT) delay = (this->target->getVelocity())/25;
    210210
    211211  // Setting the Camera Eye, lookAt and up Vectors
Note: See TracChangeset for help on using the changeset viewer.