Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2006, 10:27:13 AM (19 years ago)
Author:
bknecht
Message:

Control: finetuning and corrections of helicopter and spaceship

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/spaceshipcontrol/src/world_entities/space_ships/helicopter.cc

    r6378 r6391  
    2727#include "key_mapper.h"
    2828#include "event_handler.h"
     29#include "state.h"
    2930
    3031#include "graphics_engine.h"
     
    175176//   this->getWeaponManager()->setSlotPosition(9, Vector(-2.5, -0.3, 2.0));
    176177//   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);
    177183
    178184}
     
    194200  dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( true);
    195201  this->attachCamera();
     202
    196203
    197204}
Note: See TracChangeset for help on using the changeset viewer.