Changeset 10020 in orxonox.OLD for branches/playability/src/world_entities/projectiles/projectile.cc
- Timestamp:
- Dec 6, 2006, 1:11:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/projectiles/projectile.cc
r9969 r10020 192 192 void Projectile::tick (float dt) 193 193 { 194 float tti ; //!< time to impact194 float tti = 0; //!< time to impact 195 195 Vector estTargetDir = (this->target->getRelCoor() + this->target->getVelocity()); 196 196 this->velocity = this->newDirection(this->velocity, estTargetDir, this->turningSpeed * dt ) * this->velocity.len();
Note: See TracChangeset
for help on using the changeset viewer.