Changeset 10698 in orxonox.OLD for trunk/src/world_entities/weapons/light_blaster.cc
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/light_blaster.cc
r10618 r10698 90 90 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT); 91 91 this->setProjectileTypeC("LBolt"); 92 this->prepareProjectiles( 100);92 this->prepareProjectiles(25); 93 93 94 94 this->setBarrels(3); … … 106 106 this->emissionPoint[i]->setName("EmissionPoint"); 107 107 this->emissionPoint[i]->addNodeFlags(PNODE_PROHIBIT_DELETE_WITH_PARENT); 108 // this->shootAnim[i] = new Animation3D* [this->getSegs()];109 108 for(int j = 0; j < this->getSegs(); j++) 110 109 { … … 114 113 } 115 114 } 116 /*117 this->emissionPoint[0]->setRelCoor(Vector(1.19, 0.0, 0.1));118 this->emissionPoint[1]->setRelCoor(Vector(1.19, -0.07, -0.05));119 this->emissionPoint[2]->setRelCoor(Vector(1.19, 0.07, -0.05));*/120 115 121 116 this->emissionPoint[0]->setRelCoor(Vector(2.2, 0.0, 0.1)); … … 130 125 animation2->setInfinity(ANIM_INF_CONSTANT); 131 126 animation3->setInfinity(ANIM_INF_CONSTANT); 132 133 // this->setEmissionPoint(3.8, 1.2, 0);134 135 // for (int i = 0; i < this->getBarrels(); i++){136 // this->shootAnim[i][0]->addKeyFrame(Vector(), Quaternion(i * 120, Vector(1.0, 0.0, 0.0)), 0.049, ANIM_NULL, ANIM_LINEAR);137 // this->shootAnim[i][0]->addKeyFrame(Vector(), Quaternion((i+1)*120, Vector(1.0, 0.0, 0.0)), 0.001, ANIM_NULL, ANIM_LINEAR);138 // }139 127 140 128
Note: See TracChangeset
for help on using the changeset viewer.