Changeset 10287 in orxonox.OLD for branches/heathaze/src/world_entities/creatures/fps_player.cc
- Timestamp:
- Jan 17, 2007, 10:33:59 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/heathaze/src/world_entities/creatures/fps_player.cc
r9869 r10287 358 358 if( this->bJump && likely(this->getModel(0) != NULL)) 359 359 { 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 //} 367 369 } 368 370 else if(velocity.len() != 0.0f)
Note: See TracChangeset
for help on using the changeset viewer.