Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 9, 2014, 10:34:08 PM (11 years ago)
Author:
noep
Message:

Fixed the method outputting the projectile's CollisionBox instead of the one of the Pawn it collides into.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/src/orxonox/Scene.cc

    r9995 r9996  
    373373        bool modified = false;
    374374        if (object0->isCollisionCallbackActive())
    375             modified |= object0->customCollidesAgainst(object1, cs0, cp);
     375            modified |= object0->customCollidesAgainst(object1, cs1, cp);
    376376        if (object1->isCollisionCallbackActive())
    377             modified |= object1->customCollidesAgainst(object0, cs1, cp);
     377            modified |= object1->customCollidesAgainst(object0, cs0, cp);
    378378
    379379        return modified;
Note: See TracChangeset for help on using the changeset viewer.