- Timestamp:
- May 27, 2010, 3:33:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/rocket2/src/modules/weapons/RocketController.cc
r6966 r6969 80 80 void RocketController::setTargetPosition() 81 81 { 82 //this->targetPosition_=this->target_->getWorldPosition();83 this->targetPosition_ = getPredictedPosition(this->getControllableEntity()->getWorldPosition(),this->getControllableEntity()->getVelocity().length() , this->target_->getWorldPosition(), this->target_->getVelocity());82 this->targetPosition_=this->target_->getWorldPosition(); //don't really note a difference in the rocket behaviour xD 83 //this->targetPosition_ = getPredictedPosition(this->getControllableEntity()->getWorldPosition(),this->getControllableEntity()->getVelocity().length() , this->target_->getWorldPosition(), this->target_->getVelocity()); 84 84 } 85 85 void RocketController::moveToTargetPosition()
Note: See TracChangeset
for help on using the changeset viewer.