Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6212 in orxonox.OLD for branches/christmas_branche/src


Ignore:
Timestamp:
Dec 21, 2005, 3:44:27 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: target strafes with mouse-movement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/christmas_branche/src/world_entities/creatures/md2_creature.cc

    r6211 r6212  
    129129  this->addChild(&this->cameraConnNode);
    130130  this->cameraConnNode.addChild(State::getCameraTarget());
     131  this->cameraConnNode.addChild(State::getCamera());
    131132  State::getCameraTarget()->setRelCoor(10,0,0);
    132133
     
    178179   //
    179180
    180   this->getWeaponManager()->getFixedTarget()->setParent(this);
    181   this->getWeaponManager()->getFixedTarget()->setRelCoor(100000,0,0);
     181   this->cameraConnNode.addChild(this->getWeaponManager()->getFixedTarget());
     182  this->getWeaponManager()->getFixedTarget()->setRelCoor(10,0,0);
    182183
    183184}
Note: See TracChangeset for help on using the changeset viewer.