Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 27, 2005, 6:07:47 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: orxonox runs again (the TrackManager produces speed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/test_gun.cc

    r4955 r4959  
    164164  if (target != NULL)
    165165  {
    166     target->debugDraw();
    167     Vector test = ((target->getAbsCoor() - this->getAbsCoor())*5);
    168     pj->setVelocity(test/20.0);//this->getVelocity());
     166    pj->setVelocity(this->getVelocity()+(target->getAbsCoor() - this->getAbsCoor())*.5);//this->getVelocity());
    169167  }
    170168  else
Note: See TracChangeset for help on using the changeset viewer.