Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2008, 3:16:07 PM (16 years ago)
Author:
rgrieder
Message:

Bugfix in WorldEntity: It creates a CompoundCollisionShape in its c'tor, which is also a synchronisable —> setObjectMode(0x0) to suppress synchronisation.

File:
1 edited

Legend:

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

    r2459 r2465  
    7272        this->bPhysicsActive_ = false;
    7373        this->collisionShape_ = new CompoundCollisionShape(this);
     74        // Note: CompoundCollisionShape is a Synchronisable, but must not be synchronised.
     75        //       All objects will get attached on the client anyway, so we don't need synchronisation.
     76        this->collisionShape_->suppressSynchronisation();
    7477        this->collisionType_ = None;
    7578        this->collisionTypeSynchronised_ = None;
Note: See TracChangeset for help on using the changeset viewer.