Changeset 10287 in orxonox.OLD for branches/heathaze/src/world_entities
- Timestamp:
- Jan 17, 2007, 10:33:59 PM (18 years ago)
- Location:
- branches/heathaze/src/world_entities
- Files:
-
- 2 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) -
branches/heathaze/src/world_entities/script_trigger.cc
r9869 r10287 188 188 if( !invert && this->distance(target) < radius) 189 189 { 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); 190 192 executeAction(timestep); 191 193 scriptCalled = true;
Note: See TracChangeset
for help on using the changeset viewer.