Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 17, 2014, 3:41:17 PM (10 years ago)
Author:
noep
Message:

Tried to prevent the StaticEntities & Collisionshapes from getting deleted by creating vectors of SmartPointers to them. didn't work.

File:
1 edited

Legend:

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

    r10011 r10036  
    345345                                             int index0, const btCollisionObject* colObj1, int partId1, int index1)
    346346    {
     347        orxout() << "collisionCb()" << endl;
     348
    347349        // get the WorldEntity pointers
    348350        SmartPtr<WorldEntity> object0 = static_cast<WorldEntity*>(colObj0->getUserPointer());
     
    360362            modified |= object1->collidesAgainst(object0, cs0, cp);
    361363
     364        orxout() << "collisionCb() completed." << endl;
     365
    362366        return modified;
    363367    }
Note: See TracChangeset for help on using the changeset viewer.