- Timestamp:
- Dec 14, 2008, 7:08:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics_merge/src/orxonox/objects/worldentities/WorldEntity.cc
r2442 r2446 312 312 if (this->isActive() && this->hasPhysics() && !this->isPhysicsActive() && !this->parent_) 313 313 { 314 this->getScene()->add RigidBody(this->physicalBody_);314 this->getScene()->addPhysicalObject(this); 315 315 this->bPhysicsActive_ = true; 316 316 } … … 321 321 if (this->isPhysicsActive()) 322 322 { 323 this->getScene()->remove RigidBody(this->physicalBody_);323 this->getScene()->removePhysicalObject(this); 324 324 this->bPhysicsActive_ = false; 325 325 }
Note: See TracChangeset
for help on using the changeset viewer.