Changeset 10300 in orxonox.OLD for branches/improvements/src/world_entities
- Timestamp:
- Jan 22, 2007, 5:21:42 PM (18 years ago)
- Location:
- branches/improvements/src/world_entities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/improvements/src/world_entities/creatures/fps_player.cc
r10288 r10300 358 358 if( this->bJump && likely(this->getModel(0) != NULL)) 359 359 { 360 //printf("pedestrianOne:walkTo( %f, 35, %f) \n", this->getAbsCoor().x, this->getAbsCoor().z);361 //this->bJump = false;360 printf("dummyVariable:walkTo( %f, 35, %f) \n", this->getAbsCoor().x, this->getAbsCoor().z); 361 this->bJump = false; 362 362 if( this->jumpForce < 1.0f) 363 363 { -
branches/improvements/src/world_entities/script_trigger.cc
r10299 r10300 63 63 addToScript = false; 64 64 this->activeOnCreation = false; 65 target = NULL; 65 66 66 67 if(root != NULL) … … 186 187 } 187 188 189 if(target != NULL) 190 { 188 191 if( !invert && this->distance(target) < radius) 189 192 { 193 // printf("Trigger position is: %f %f %f \n", this->getAbsCoor().x, this->getAbsCoor().y, this->getAbsCoor().z); 194 // printf("Target position is: %f %f %f \n", this->target->getAbsCoor().x, this->target->getAbsCoor().y, this->target->getAbsCoor().z); 190 195 executeAction(timestep); 191 196 scriptCalled = true; 192 197 return; 198 193 199 } 194 200 else if( invert && this->distance(target) > radius) … … 200 206 //else 201 207 //printf("SCRIPTTRIGGER: target out of range\n"); 202 208 } 203 209 } 204 210
Note: See TracChangeset
for help on using the changeset viewer.