Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10287 in orxonox.OLD for branches/heathaze


Ignore:
Timestamp:
Jan 17, 2007, 10:33:59 PM (18 years ago)
Author:
snellen
Message:

some fixes

Location:
branches/heathaze/src/world_entities
Files:
2 edited

Legend:

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

    r9869 r10287  
    358358  if( this->bJump && likely(this->getModel(0) != NULL))
    359359  {
    360     if( this->jumpForce < 1.0f)
    361     {
    362       this->jumpForce = 300.0f;
    363 
    364       if( ((InteractiveModel*)this->getModel(0))->getAnimation() != JUMP)
    365         ((InteractiveModel*)this->getModel(0))->setAnimation(JUMP);
    366     }
     360    printf("pedestrianOne:walkTo( %f, 35, %f) \n", this->getAbsCoor().x, this->getAbsCoor().z);
     361    this->bJump = false;
     362    //if( this->jumpForce < 1.0f)
     363    //{
     364      //this->jumpForce = 300.0f;
     365
     366    //  if( ((InteractiveModel*)this->getModel(0))->getAnimation() != JUMP)
     367      //  ((InteractiveModel*)this->getModel(0))->setAnimation(JUMP);
     368  //}
    367369  }
    368370  else if(velocity.len() != 0.0f)
  • branches/heathaze/src/world_entities/script_trigger.cc

    r9869 r10287  
    188188  if( !invert && this->distance(target) < radius)
    189189  {
     190  //  printf("Trigger position is: %f %f %f \n", this->getAbsCoor().x, this->getAbsCoor().y, this->getAbsCoor().z);
     191  //  printf("Target position is: %f %f %f \n", this->target->getAbsCoor().x, this->target->getAbsCoor().y, this->target->getAbsCoor().z);
    190192    executeAction(timestep);
    191193    scriptCalled = true;
Note: See TracChangeset for help on using the changeset viewer.