Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4964 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc


Ignore:
Timestamp:
Jul 28, 2005, 3:52:29 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: Turret now turns into the dirrection of the Target, projectiles are aligned into this direction too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/player.cc

    r4963 r4964  
    8989  this->weaponMan->addWeapon(wpLeft, 1, 0);
    9090  this->weaponMan->addWeapon(wpRight,1 ,1);
    91   this->weaponMan->addWeapon(turret, 3, 1);
     91  this->weaponMan->addWeapon(turret, 3, 2);
    9292
    9393  this->weaponMan->changeWeaponConfig(0);
     
    110110
    111111  this->weaponMan = new WeaponManager(this);
     112  this->weaponMan->setSlotCount(3);
    112113  this->weaponMan->setSlotPosition(0, Vector(-2.6, .1, -3.0));
    113114  this->weaponMan->setSlotPosition(1, Vector(-2.6, .1, 3.0));
    114 
     115  this->weaponMan->setSlotPosition(2, Vector(-1.5, .5, 0));
    115116}
    116117
Note: See TracChangeset for help on using the changeset viewer.