- Timestamp:
- Feb 7, 2006, 5:38:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/helicopter.cc
r7014 r7096 163 163 this->getWeaponManager()->setSlotCount(7); 164 164 165 this->getWeaponManager()->setSlotPosition(0, Vector( -2.6, .1, -3.0));165 this->getWeaponManager()->setSlotPosition(0, Vector(0.0, .1, -1.0)); 166 166 this->getWeaponManager()->setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 167 167 168 this->getWeaponManager()->setSlotPosition(1, Vector( -2.6, .1, 3.0));168 this->getWeaponManager()->setSlotPosition(1, Vector(0.0, .1, 1.0)); 169 169 this->getWeaponManager()->setSlotCapability(1, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL); 170 170 … … 295 295 //accel -= this->getAbsDirY(); 296 296 297 accel += Vector((this->getAbsDirX()).x,0,(this->getAbsDirX()).z) ;297 accel += Vector((this->getAbsDirX()).x,0,(this->getAbsDirX()).z) * 3; 298 298 if((this->getAbsDirX()).y >= -0.1) rotValZ -= time; 299 299 } 300 300 else 301 301 { 302 if(this->getAbsDirX().y < -.02) this->shiftDir(Quaternion(time, Vector(0,0,1))) ;302 if(this->getAbsDirX().y < -.02) this->shiftDir(Quaternion(time, Vector(0,0,1))) ; 303 303 } 304 304 … … 308 308 //accel -= this->getAbsDirY(); 309 309 310 accel -= Vector((this->getAbsDirX()).x,0,(this->getAbsDirX()).z) ;310 accel -= Vector((this->getAbsDirX()).x,0,(this->getAbsDirX()).z)*3; 311 311 rotValZ += time; 312 312 }
Note: See TracChangeset
for help on using the changeset viewer.