Changeset 3689 in orxonox.OLD for orxonox/trunk/src/world_entities/projectile.cc
- Timestamp:
- Mar 31, 2005, 1:22:42 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/projectile.cc
r3688 r3689 99 99 void Projectile::tick (float time) 100 100 { 101 this->speed = this->weapon->getSpeed() + 100.0;101 this->speed = this->weapon->getSpeed(); 102 102 Vector v; 103 v = *this->flightDirection * this->speed * time;103 v = *this->flightDirection * ( this->speed * time * 1000 + 0.7); 104 104 this->shiftCoor(v); 105 105 //printf("PROJECTILE: current direction is: (%f, %f, %f)\n",this->flightDirection->x, this->flightDirection->y, this->flightDirection->z );
Note: See TracChangeset
for help on using the changeset viewer.