Changeset 2423 for code/branches/physics/src/orxonox/objects/collisionshapes/SphereCollisionShape.cc
- Timestamp:
- Dec 13, 2008, 4:14:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/collisionshapes/SphereCollisionShape.cc
r2403 r2423 72 72 if (this->collisionShape_) 73 73 delete this->collisionShape_; 74 // When we recreate the shape, we have to inform the parent about this to update the shape 74 75 this->collisionShape_ = new btSphereShape(this->radius_); 76 this->updateParent(); 75 77 } 76 78 }
Note: See TracChangeset
for help on using the changeset viewer.