Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 1, 2009, 7:34:44 PM (15 years ago)
Author:
rgrieder
Message:
  • Added WorldEntityCollisionShape to clarify when a CompoundCollisionShape belongs to a WE.
  • Also fixed problems with the synchronisation of the CollisionShape hierarchy.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/collisionshapes/CompoundCollisionShape.h

    r2527 r2562  
    5353            void updateAttachedShape(CollisionShape* shape);
    5454
    55             void setWorldEntityParent(WorldEntity* parent);
    56 
    57         protected:
    58             virtual void updateParent();
    59 
    6055        private:
    6156            void updatePublicShape();
    62             void parentChanged();
    6357            inline virtual btCollisionShape* createNewShape() const
    6458                { assert(false); return 0; }
     
    6660            btCompoundShape* compoundShape_;
    6761            std::map<CollisionShape*, btCollisionShape*> attachedShapes_;
    68             WorldEntity* worldEntityParent_;
    6962    };
    7063}
Note: See TracChangeset for help on using the changeset viewer.