Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8900 in orxonox.OLD


Ignore:
Timestamp:
Jun 29, 2006, 1:11:30 AM (18 years ago)
Author:
patrick
Message:

gun is positioned correctly now

Location:
branches/single_player_map/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/creatures/fps_player.cc

    r8898 r8900  
    122122  this->getWeaponManager().setSlotCount(2);
    123123  this->getWeaponManager().setSlotPosition(0, Vector(1.5, -0.7, 1.1));
    124   this->getWeaponManager().setSlotDirection(0, Quaternion(M_PI_2, Vector(0,1,0)));
     124//   this->getWeaponManager().setSlotDirection(0, Quaternion(M_PI_2, Vector(0,1,0)));
    125125  this->getWeaponManager().setSlotCapability(0, WTYPE_ALLDIRS | WTYPE_DIRECTIONAL);
    126126  this->getWeaponManager().setSlotPosition(1, Vector(5.0, 0.0, 0.0));
  • branches/single_player_map/src/world_entities/weapons/fps_sniper_rifle.cc

    r8899 r8900  
    170170
    171171  Vector tmpRot = this->getAbsDir().getSpacialAxis();
    172   glRotatef (this->getAbsDir().getSpacialAxisAngle() + M_PI_2, tmpRot.x, tmpRot.y, tmpRot.z );
     172  glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z );
    173173
    174174  if( this->leftRight == W_RIGHT)
Note: See TracChangeset for help on using the changeset viewer.