Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2005, 3:48:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: extemely stupid aiming, but it works. Had to fix quite a few bugs in the process.

File:
1 edited

Legend:

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

    r4948 r4955  
    9191void Projectile::setVelocity(const Vector &velocity)
    9292{
    93   Vector offsetVel = this->velocity = velocity;
    94   offsetVel.normalize();
    95   this->velocity += (offsetVel * 50.0);
     93  //Vector offsetVel =
     94  this->velocity = velocity;
     95 // offsetVel.normalize();
     96  //this->velocity += (offsetVel * 50.0);
    9697}
    9798
Note: See TracChangeset for help on using the changeset viewer.