- Timestamp:
- Dec 22, 2008, 10:23:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/worldentities/WorldEntity.h
r2485 r2527 244 244 CollisionShape* getAttachedCollisionShape(unsigned int index) const; 245 245 246 inline CompoundCollisionShape* getCollisionShape() 246 inline CompoundCollisionShape* getCollisionShape() const 247 247 { return this->collisionShape_; } 248 inline btRigidBody* getPhysicalBody() 248 inline btRigidBody* getPhysicalBody() const 249 249 { return this->physicalBody_; } 250 250 … … 259 259 inline void disableCollisionCallback() 260 260 { this->bCollisionCallbackActive_ = false; this->collisionCallbackActivityChanged(); } 261 inline bool isCollisionCallbackActive() 261 inline bool isCollisionCallbackActive() const 262 262 { return this->bCollisionCallbackActive_; } 263 263 … … 271 271 void recalculateMassProps(); 272 272 void resetPhysicsProps(); 273 274 bool notifyBeingAttached(WorldEntity* newParent); 275 void notifyDetached(); 273 276 274 277 // network callbacks … … 293 296 bool bPhysicsActive_; 294 297 bool bPhysicsActiveSynchronised_; 298 bool bPhysicsActiveBeforeAttaching_; 295 299 CompoundCollisionShape* collisionShape_; 296 300 btScalar mass_;
Note: See TracChangeset
for help on using the changeset viewer.