Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9123 in orxonox.OLD for branches/presentation/src/world_entities


Ignore:
Timestamp:
Jul 4, 2006, 2:16:16 PM (18 years ago)
Author:
patrick
Message:

more collision reaction stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/creatures/fps_player.cc

    r9122 r9123  
    191191  this->getWeaponManager().getFixedTarget()->setParent(State::getCameraTargetNode());
    192192  this->getWeaponManager().getFixedTarget()->setRelCoor(0,0,0);
     193
    193194}
    194195
     
    208209{
    209210
    210   if( this->bPosBut)
    211   {
    212     this->bPosBut = false;
     211  if( this->bJump)
     212  {
    213213    printf("mechanic2:walkTo( %f, mtheight, %f)\n",this->getAbsCoorX(),this->getAbsCoorZ());
    214214  }
     
    373373  else if( event.type == KeyMapper::PEV_JUMP)
    374374    this->bJump = event.bPressed;
    375     this->bPosBut = event.bPressed;
    376375}
    377376
     
    379378{
    380379  Playable::respawn();
    381  
     380
    382381  AABB* box = this->getModelAABB();
    383382  if( box != NULL)
Note: See TracChangeset for help on using the changeset viewer.