Changeset 3847 in orxonox.OLD for orxonox/trunk/src/world_entities
- Timestamp:
- Apr 17, 2005, 2:01:28 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/test_gun.cc
r3757 r3847 52 52 this->projOffset = new Vector(1.0, 0.0, 0.5); 53 53 54 54 55 this->animator = SimpleAnimation::getInstance(); 55 this->dummy1 = new WorldEntity(); /* a world entity that is not drawed: use this for the weapon */ 56 this->dummy1 = new WorldEntity(); // a world entity that is not drawed: use this for the weapon 57 /* 56 58 parent->addChild(this->dummy1, PNODE_ALL); 57 59 … … 73 75 } 74 76 this->animator->animatorEnd(); 75 77 */ 76 78 } 77 79 … … 131 133 this->localTime = 0; 132 134 133 this->animator->animatorBegin(); 134 this->animator->selectObject(this->dummy1); 135 this->animator->start(); 136 this->animator->animatorEnd(); 135 /* 136 this->animator->animatorBegin(); 137 this->animator->selectObject(this->dummy1); 138 this->animator->start(); 139 this->animator->animatorEnd(); 140 */ 137 141 } 138 142
Note: See TracChangeset
for help on using the changeset viewer.