- Timestamp:
- Dec 10, 2008, 1:38:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/worldentities/WorldEntity.h
r2313 r2374 164 164 { this->roll(angle); } 165 165 166 inline void scaleChanged() 167 { this->setScale3D(this->getScale3D()); } 168 166 169 WorldEntity* parent_; 167 170 unsigned int parentID_; … … 186 189 bool isKinematic() const { return getCollisionType() == Kinematic; } 187 190 bool isDynamic() const { return getCollisionType() == Dynamic ; } 191 bool isPhysicsRunning() const; 188 192 189 193 inline CollisionType getCollisionType() const … … 201 205 CollisionShape* getAttachedCollisionShape(unsigned int index) const; 202 206 203 inline Co llisionShape* getCollisionShape()207 inline CompoundCollisionShape* getCollisionShape() 204 208 { return this->collisionShape_; } 205 209 inline btRigidBody* getPhysicalBody() … … 220 224 void removeFromPhysicalWorld() const; 221 225 226 // network callbacks 227 void collisionTypeChanged(); 228 void massChanged(); 229 222 230 CollisionType collisionType_; 223 std::vector<CollisionShape*> attachedShapes_;224 Co llisionShape*collisionShape_;231 CollisionType collisionTypeSynchronised_; 232 CompoundCollisionShape* collisionShape_; 225 233 btScalar mass_; 226 234 btScalar childMass_;
Note: See TracChangeset
for help on using the changeset viewer.