Changeset 6391 in orxonox.OLD for branches/spaceshipcontrol/src/world_entities/space_ships/helicopter.cc
- Timestamp:
- Jan 3, 2006, 10:27:13 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/spaceshipcontrol/src/world_entities/space_ships/helicopter.cc
r6378 r6391 27 27 #include "key_mapper.h" 28 28 #include "event_handler.h" 29 #include "state.h" 29 30 30 31 #include "graphics_engine.h" … … 175 176 // this->getWeaponManager()->setSlotPosition(9, Vector(-2.5, -0.3, 2.0)); 176 177 // this->getWeaponManager()->setSlotDirection(9, Quaternion(+M_PI, Vector(1,0,0)));: 178 179 this->getWeaponManager()->getFixedTarget()->setParent(this); 180 this->getWeaponManager()->getFixedTarget()->setRelCoor(100000,0,0); 181 182 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false); 177 183 178 184 } … … 194 200 dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true); 195 201 this->attachCamera(); 202 196 203 197 204 }
Note: See TracChangeset
for help on using the changeset viewer.