- Timestamp:
- Jan 3, 2016, 8:47:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15/src/orxonox/controllers/ArtificialController.cc
r10631 r11028 94 94 return; 95 95 96 static const float hardcoded_projectile_speed= 750;97 98 this->targetPosition_ = getPredictedPosition(this->getControllableEntity()->getWorldPosition(), hardcoded_projectile_speed, this->target_->getWorldPosition(), this->target_->getVelocity());96 static const float HARDCODED_PROJECTILE_SPEED = 750; 97 98 this->targetPosition_ = getPredictedPosition(this->getControllableEntity()->getWorldPosition(), HARDCODED_PROJECTILE_SPEED, this->target_->getWorldPosition(), this->target_->getVelocity()); 99 99 this->bHasTargetPosition_ = (this->targetPosition_ != Vector3::ZERO); 100 100
Note: See TracChangeset
for help on using the changeset viewer.