Changeset 2465 for code/branches/presentation/src/orxonox
- Timestamp:
- Dec 15, 2008, 3:16:07 PM (16 years ago)
- Location:
- code/branches/presentation/src/orxonox/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/collisionshapes/CompoundCollisionShape.h
r2459 r2465 52 52 void updateChildShape(CollisionShape* shape); 53 53 54 inline void suppressSynchronisation() 55 { this->setObjectMode(0x0); } 56 54 57 protected: 55 58 virtual void updateParent(); -
code/branches/presentation/src/orxonox/objects/worldentities/WorldEntity.cc
r2459 r2465 72 72 this->bPhysicsActive_ = false; 73 73 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(); 74 77 this->collisionType_ = None; 75 78 this->collisionTypeSynchronised_ = None;
Note: See TracChangeset
for help on using the changeset viewer.