Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 2, 2005, 1:18:44 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: reimplemented the shoot speed function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/test_bullet.cc

    r4322 r4464  
    5858void TestBullet::tick (float time)
    5959{
    60   Vector v = *this->flightDirection * ( this->speed * time * 1000 + 0.1);
     60  //Vector v = *this->flightDirection * ( this->speed * time * 1000 + 0.1);
     61  Vector v = this->velocity * (time);
    6162  this->shiftCoor(v);
    6263
Note: See TracChangeset for help on using the changeset viewer.