- Timestamp:
- Apr 6, 2005, 11:33:50 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/simple_animation.cc
r3733 r3734 264 264 this->localTime -= this->currentFrame->time; 265 265 266 this->currentFrame->object->setRelCoor(*this->currentFrame->position);266 //this->currentFrame->object->setRelCoor(*this->currentFrame->position); 267 267 *this->lastPosition = *this->currentFrame->position; 268 268 … … 273 273 { 274 274 *this->tmpVect = *this->currentFrame->position - *this->lastFrame->position; 275 deltaT = 1/this->currentFrame->time * logf(1.0 + 100.0/this->tmpVect->len());275 deltaT = 1/this->currentFrame->time * logf(1.0 + 600.0/this->tmpVect->len()); 276 276 } 277 277 } -
orxonox/trunk/src/story_entities/world.cc
r3733 r3734 472 472 473 473 KeyFrame* f1 = new KeyFrame; 474 f1->position = new Vector( 10.0, 1.0, -1.0);474 f1->position = new Vector(20.0, 1.0, -1.0); 475 475 f1->direction = new Quaternion(); 476 f1->time = 0. 5;476 f1->time = 0.3; 477 477 f1->mode = NEG_EXP; 478 478 479 479 480 480 KeyFrame* f2 = new KeyFrame; 481 f2->position = new Vector(10.0, 1.0, 1.0);481 f2->position = new Vector(10.0, 1.0, 5.0); 482 482 f2->direction = new Quaternion(); 483 483 f2->time = 0.5; … … 485 485 486 486 KeyFrame* f3 = new KeyFrame; 487 f3->position = new Vector(5.0, 1.0, -1.0);487 f3->position = new Vector(5.0, 2.0, -1.0); 488 488 f3->direction = new Quaternion(); 489 489 f3->time = 0.5;
Note: See TracChangeset
for help on using the changeset viewer.