Changeset 8126 in orxonox.OLD for branches/cr/src/lib/collision_reaction/collision_handle.cc
- Timestamp:
- Jun 3, 2006, 3:04:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cr/src/lib/collision_reaction/collision_handle.cc
r8125 r8126 121 121 // set the state to not dispatched 122 122 this->bDispatched = false; 123 this->bCollided = true; 123 124 collision->setEntityBCollide(true); 124 125 … … 138 139 // set the state to not dispatched 139 140 this->bDispatched = false; 141 this->bCollided = true; 140 142 141 143 // checks if these WorldEntities have already collided or if its a new collision -> create a new Collision object … … 163 165 // collision reaction calculations (for every collision there will be a reaction) 164 166 vector<Collision*>::iterator it = this->collisionList.begin(); 165 for(; it < this->collisionList.end(); it++) 166 { 167 for(; it < this->collisionList.end(); it++) { 167 168 (*it)->handleCollisionEvents(); 168 169 } … … 171 172 this->bDispatched = true; 172 173 this->bCollided = false; 174 173 175 this->flushCollisions(); 174 176 }
Note: See TracChangeset
for help on using the changeset viewer.