Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4721 in orxonox.OLD for orxonox/trunk


Ignore:
Timestamp:
Jun 27, 2005, 3:00:53 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: some md2 models jumping around the vulcano

Location:
orxonox/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r4720 r4721  
    569569  //    new PhysicsConnection(this->localPlayer, gravity);
    570570
    571   TestEntity* testEntity = new TestEntity();
    572   testEntity->setRelCoor(Vector(570, 10, -15));
    573   testEntity->setRelDir(Quaternion(M_PI, Vector(0, 1, 0)));
    574   this->spawn(testEntity);
     571//   TestEntity* testEntity = new TestEntity();
     572//   testEntity->setRelCoor(Vector(570, 10, -15));
     573//   testEntity->setRelDir(Quaternion(M_PI, Vector(0, 1, 0)));
     574//   this->spawn(testEntity);
    575575
    576576  TestEntity* testEntity2 = new TestEntity();
    577577  testEntity2->setAnim(RUN);
    578   testEntity2->setRelCoor(Vector(570, 30, 15));
     578  testEntity2->setRelCoor(Vector(2400, 25, 260));
    579579  testEntity2->setRelDir(Quaternion(M_PI, Vector(0, 1, 0)));
    580580  this->spawn(testEntity2);
    581581
    582 
    583   new PhysicsConnection(testEntity, gravity);
     582  TestEntity* testEntity3 = new TestEntity();
     583  testEntity3->setAnim(JUMP);
     584  testEntity3->setRelCoor(Vector(2400, 25, 280));
     585  testEntity3->setRelDir(Quaternion(M_PI, Vector(0, 1, 0)));
     586  this->spawn(testEntity3);
     587
     588  TestEntity* testEntity4 = new TestEntity();
     589  testEntity4->setAnim(RUN);
     590  testEntity4->setRelCoor(Vector(2430, 25, 250));
     591  testEntity4->setRelDir(Quaternion(M_PI, Vector(0, 1, 0)));
     592  this->spawn(testEntity4);
     593
     594
     595//   new PhysicsConnection(testEntity, gravity);
    584596
    585597  // printing out some debug stuff
  • orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc

    r4719 r4721  
    239239  while( entity != NULL)
    240240  {
    241     if(unlikely(animateModel))
     241    if( unlikely(animateModel))
    242242      entity->tick(dt);
    243243    entity = iterator->nextElement();
Note: See TracChangeset for help on using the changeset viewer.