Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6881 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Jan 31, 2006, 2:27:52 AM (19 years ago)
Author:
bensch
Message:

trunk: in 3d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/space_ships/hover.cc

    r6880 r6881  
    276276    accel -= Vector(0, this->acceleration, 0);
    277277  }
    278 
     278  accel.debug();
    279279  Vector tmp = this->getAbsDir().apply(accel * 500.0);
    280280  //tmp.y = accel.y * 500.0 ;
    281281  velocity += tmp * dt;
    282282
    283   accel -= velocity * .0005;
     283  accel -= velocity * .05;
     284  accel.debug();
    284285
    285286  // this is the air friction (necessary for a smooth control)
Note: See TracChangeset for help on using the changeset viewer.