Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 10:40:49 PM (18 years ago)
Author:
bensch
Message:

orxonox/presentation mines rotate again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/npcs/attractor_mine.cc

    r9175 r9176  
    4242
    4343  if ((float)rand()/RAND_MAX > .5f)
    44     this->loadModel("models/ships/bolido.obj", 6);
     44    this->loadModel("models/ships/noxon_battle_drone.obj", .3);
    4545  else
    46     this->loadModel("models/ships/gobblin.obj", 6);
     46    this->loadModel("models/ships/noxon_battle_drone.obj", .2);
    4747
    4848
     
    135135  //if (directin.len() < 100)
    136136  //  this->shiftCoor(direction *dt * 5 * exp(-direction.len() / 30.0));
    137   //  this->shiftDir(Quaternion(dt, this->randomRotAxis));
     137  this->shiftDir(Quaternion(.5 * dt, this->randomRotAxis));
    138138
    139139}
Note: See TracChangeset for help on using the changeset viewer.