Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 1:38:17 PM (15 years ago)
Author:
rgrieder
Message:

Trying to synchronise phyiscs over the network.

  • Removed derivation of CollisionShape from WorldEntity (BaseObject instead).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/orxonox/objects/worldentities/collisionshapes/SphereCollisionShape.h

    r2304 r2374  
    4242            virtual ~SphereCollisionShape();
    4343
     44            void registerVariables();
    4445            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4546
    46             inline void setRadius(float radius)
    47                 { this->radius_ = radius; }
     47            void setRadius(float radius);
    4848            inline float getRadius() const
    4949                { return this->radius_;}
    5050
     51            inline void radiusChanged()
     52                { this->setRadius(this->radius_); }
     53
    5154        private:
    52             virtual btVector3 getTotalScaling();
    53 
    5455            btSphereShape* sphereShape_;
    5556            float          radius_;
Note: See TracChangeset for help on using the changeset viewer.