Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7781


Ignore:
Timestamp:
Dec 19, 2010, 9:48:30 PM (13 years ago)
Author:
scheusso
Message:

fix: NHC doesn't aim (and shoot) at own spaceship and objects to close to the camera anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network5/src/orxonox/controllers/NewHumanController.cc

    r7284 r7781  
    375375        {
    376376//             CCOUT(0) << "testing object as target" << endl;
    377             if (itr->movable->isInScene() && itr->movable->getMovableType() == "Entity" /*&& itr->distance > 500*/)
     377            if (itr->movable->isInScene() && itr->movable->getMovableType() == "Entity" && itr->distance > 200)
    378378            {
    379379                // Try to cast the user pointer
Note: See TracChangeset for help on using the changeset viewer.