Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 12, 2006, 12:10:51 AM (18 years ago)
Author:
patrick
Message:

bsp_model: new collision reaction for the ground. not yet working completle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/collision_reaction/collision_handle.cc

    r8288 r8323  
    192192void CollisionHandle::handleCollisions()
    193193{
    194 //   if( this->type == CREngine::CR_)
     194  // if continuous poll poll the reaction
     195  if( this->bContinuousPoll && !this->bCollided)
     196  {
     197    this->collisionReaction->update(this->owner);
     198    return;
     199  }
    195200
    196201  // collision reaction calculations (for every collision there will be a reaction)
     
    204209  }
    205210
    206   // if continuous poll poll the reaction
    207   if( this->bContinuousPoll && this->bCollided)
    208     this->collisionReaction->update(this->owner);
    209 
    210211  // now set state to dispatched
    211212  this->bDispatched = true;
Note: See TracChangeset for help on using the changeset viewer.