Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 15, 2008, 7:57:48 PM (15 years ago)
Author:
rgrieder
Message:

Resolved the issue with the collision shape synchronisation.

File:
1 edited

Legend:

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

    r2466 r2469  
    7474        // Note: CompoundCollisionShape is a Synchronisable, but must not be synchronised.
    7575        //       All objects will get attached on the client anyway, so we don't need synchronisation.
    76         this->collisionShape_->suppressSynchronisation();
     76        this->collisionShape_->setWorldEntityParent(this);
    7777        this->collisionType_ = None;
    7878        this->collisionTypeSynchronised_ = None;
     
    459459    void WorldEntity::setScale3D(const Vector3& scale)
    460460    {
    461         if (this->hasPhysics())
     461        if (this->hasPhysics() && scale != Vector3::UNIT_SCALE)
    462462        {
    463463            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.