- Timestamp:
- Dec 15, 2008, 7:57:48 PM (16 years ago)
- Location:
- code/branches/presentation/src/orxonox/objects/worldentities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/worldentities/MobileEntity.cc
r2459 r2469 51 51 this->angularAcceleration_ = Vector3::ZERO; 52 52 this->angularVelocity_ = Vector3::ZERO; 53 54 this->registerVariables(); 53 55 } 54 56 -
code/branches/presentation/src/orxonox/objects/worldentities/WorldEntity.cc
r2466 r2469 74 74 // Note: CompoundCollisionShape is a Synchronisable, but must not be synchronised. 75 75 // All objects will get attached on the client anyway, so we don't need synchronisation. 76 this->collisionShape_->s uppressSynchronisation();76 this->collisionShape_->setWorldEntityParent(this); 77 77 this->collisionType_ = None; 78 78 this->collisionTypeSynchronised_ = None; … … 459 459 void WorldEntity::setScale3D(const Vector3& scale) 460 460 { 461 if (this->hasPhysics() )461 if (this->hasPhysics() && scale != Vector3::UNIT_SCALE) 462 462 { 463 463 CCOUT(2) << "Warning: Cannot set the scale of a physical object: Not yet implemented." << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.