Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 12, 2008, 4:32:10 AM (16 years ago)
Author:
landauf
Message:
  • Some small changes in XMLPortParam: It's now possible to add functions of another class. an example is setPosition and getPosition that are directly referred to Ogre::Node. Use XMLPortParamExtern if you need this. It takes the object to call the functions on as an additional argument (in our example: this→node_).
  • Removed loadParams functions and reduced the usage of XMLPortParamLoadOnly in several classes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/orxonox/objects/Projectile.cc

    r1591 r1592  
    9292            if ((*it) != this->owner_)
    9393            {
    94                 radius = it->getScale().x * 3.0;
     94                radius = it->getScale3D().x * 3.0;
    9595
    9696                if (this->getPosition().squaredDistance(it->getPosition()) <= (radius*radius))
Note: See TracChangeset for help on using the changeset viewer.