Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 1, 2015, 2:16:34 PM (10 years ago)
Author:
landauf
Message:

fixed target position calculation:

a) the math was wrong (not sure why)
b) the assumed projectile speed now matches the actual speed of the HsW01 weapon which is used most of the time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/controllers/ArtificialController.cc

    r10216 r10289  
    9292            return;
    9393
    94         static const float hardcoded_projectile_speed = 1250;
     94        static const float hardcoded_projectile_speed = 2500;
    9595
    9696        this->targetPosition_ = getPredictedPosition(this->getControllableEntity()->getWorldPosition(), hardcoded_projectile_speed, this->target_->getWorldPosition(), this->target_->getVelocity());
Note: See TracChangeset for help on using the changeset viewer.