Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 25, 2015, 3:39:30 PM (10 years ago)
Author:
landauf
Message:

disabled physics for turret → removed attachment-hack in WorldEntity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationFS14/src/orxonox/worldentities/WorldEntity.cc

    r10073 r10198  
    415415            else if (this->isDynamic())
    416416            {
    417                 //***HACKY HACK (to allow turrets to be attached)***
    418                 //orxout(internal_warning) << "Cannot attach a dynamic object to a WorldEntity." << endl;
    419                 //return false;
     417                orxout(internal_warning) << "Cannot attach a dynamic object to a WorldEntity." << endl;
     418                return false;
    420419            }
    421420            else if (this->isKinematic() && newParent->isDynamic())
Note: See TracChangeset for help on using the changeset viewer.