Changeset 10698 in orxonox.OLD for trunk/src/world_entities/weapons/laser_cannon.cc
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/laser_cannon.cc
r10415 r10698 55 55 this->registerObject(this, LaserCannon::_objectList); 56 56 57 // this->model = (Model*)ResourceManager::getInstance()->load("models/guns/laser_cannon.obj", OBJ, RP_CAMPAIGN);57 this->setScaling (5); 58 58 59 this->loadModel("models/guns/lasercannon.obj", 5.0f);59 this->loadModel("models/guns/lasercannon.obj", this->getScaling()); 60 60 61 61 this->setStateDuration(WS_SHOOTING, .1); … … 75 75 this->setProjectileTypeC("RailProjectile"); 76 76 this->prepareProjectiles(100); 77 this->setEmissionPoint(Vector(2.8,0,0) * 5.0);77 this->setEmissionPoint(Vector(2.8,0,0) * this->getScaling()); 78 78 } 79 79
Note: See TracChangeset
for help on using the changeset viewer.