Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 8, 2008, 5:04:18 PM (16 years ago)
Author:
landauf
Message:
  • added a prediction-crosshair to the navigation focus
  • fixed a bug in SpaceShipAI's target movement prediction - bots are more accurate now
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/hud/RadarObject.cc

    r1564 r1566  
    120120    }
    121121
    122     const Vector3& RadarObject::getVelocity() const
     122    Vector3 RadarObject::getOrientedVelocity() const
    123123    {
    124         return this->object_->getVelocity();
     124        return this->object_->getOrientation() * this->object_->getVelocity();
    125125    }
    126126}
Note: See TracChangeset for help on using the changeset viewer.