- Timestamp:
- May 22, 2014, 2:35:02 PM (10 years ago)
- Location:
- code/branches/presentationFS14
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS14
- Property svn:mergeinfo changed
/code/branches/turretFS14 (added) merged: 9998,10004,10008,10018,10021,10031,10039,10042-10044,10049,10060-10063,10070
- Property svn:mergeinfo changed
-
code/branches/presentationFS14/src/orxonox/controllers/ArtificialController.cc
r9667 r10072 94 94 static const float hardcoded_projectile_speed = 1250; 95 95 96 this->targetPosition_ = getPredictedPosition(this->getControllableEntity()->get Position(), hardcoded_projectile_speed, this->target_->getPosition(), this->target_->getVelocity());96 this->targetPosition_ = getPredictedPosition(this->getControllableEntity()->getWorldPosition(), hardcoded_projectile_speed, this->target_->getWorldPosition(), this->target_->getVelocity()); 97 97 this->bHasTargetPosition_ = (this->targetPosition_ != Vector3::ZERO); 98 98
Note: See TracChangeset
for help on using the changeset viewer.