Changeset 3688 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Mar 31, 2005, 1:14:27 AM (20 years ago)
- Location:
- orxonox/trunk/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/projectile.cc
r3686 r3688 99 99 void Projectile::tick (float time) 100 100 { 101 this->speed = this->weapon->getSpeed() * 3;101 this->speed = this->weapon->getSpeed() + 100.0; 102 102 Vector v; 103 103 v = *this->flightDirection * this->speed * time; -
orxonox/trunk/src/world_entities/test_gun.cc
r3686 r3688 96 96 pj->setAbsDir(q); 97 97 98 //printf("%f\n",this->getSpeed()); 99 98 100 pj->setFlightDirection(q); 99 101 pj->setSpeed(this->getSpeed());
Note: See TracChangeset
for help on using the changeset viewer.