Changeset 4906 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/test_gun.cc
- Timestamp:
- Jul 20, 2005, 1:41:19 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/test_gun.cc
r4895 r4906 70 70 animation1->addKeyFrame(Vector(0, 0, 0), Quaternion(), 0.0, ANIM_LINEAR, ANIM_CONSTANT); 71 71 72 animation2->addKeyFrame(Vector(-2.6, 0.1, 2.0), Quaternion(), 0. 1, ANIM_LINEAR, ANIM_CONSTANT);73 animation2->addKeyFrame(Vector(-2.6, 0.1, 3.0), Quaternion(), 0. 1, ANIM_LINEAR, ANIM_CONSTANT);74 75 animation3->addKeyFrame(Vector(-2.6, 0.1, 3.0), Quaternion(), 0. 1, ANIM_LINEAR, ANIM_CONSTANT);76 animation3->addKeyFrame(Vector(-2.6, 0.1, 2.0), Quaternion(), 0. 1, ANIM_LINEAR, ANIM_CONSTANT);72 animation2->addKeyFrame(Vector(-2.6, 0.1, 2.0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT); 73 animation2->addKeyFrame(Vector(-2.6, 0.1, 3.0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT); 74 75 animation3->addKeyFrame(Vector(-2.6, 0.1, 3.0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT); 76 animation3->addKeyFrame(Vector(-2.6, 0.1, 2.0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT); 77 77 } 78 78 else if( this->leftRight == W_RIGHT) … … 100 100 //ObjectManager::getInstance()->debug(); 101 101 102 this->setStateDuration(WS_SHOOTING, . 2);103 this->setStateDuration(WS_RELOADING, .5);102 this->setStateDuration(WS_SHOOTING, .4); 103 this->setStateDuration(WS_RELOADING, 1); 104 104 //this->setStateDuration(WS_ACTIVATING, .4); 105 105 //this->setStateDuration(WS_DEACTIVATING, .4);
Note: See TracChangeset
for help on using the changeset viewer.