Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 27, 2010, 3:33:15 PM (14 years ago)
Author:
gnadler
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket2/src/modules/weapons/RocketController.cc

    r6966 r6969  
    8080    void RocketController::setTargetPosition()
    8181    {
    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());
    8484    }
    8585    void RocketController::moveToTargetPosition()
Note: See TracChangeset for help on using the changeset viewer.