Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6722 in orxonox.OLD for branches


Ignore:
Timestamp:
Jan 25, 2006, 5:24:34 PM (19 years ago)
Author:
bknecht
Message:

Control: minor changes on helicopter crosshair

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

Legend:

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

    r6717 r6722  
    142142 
    143143  this->loadModel("models/ships/rotor.obj",1.0,3);
    144   this->loadModel("models/ships/rotor.obj",0.15,4);
     144  this->loadModel("models/ships/rotor.obj",0.2,4);
    145145
    146146
     
    521521
    522522   
    523     if ((this->cameraNode.getAbsDirY()).y < 0.8)
     523    if ((this->cameraNode.getAbsDirY()).y < 0.5)
    524524    {
    525525     if((this->cameraNode.getAbsDirX()).y > 0)
    526526     {
    527         if(yMouse > 0) this->cameraNode.shiftDir(yDir);;
     527        if(yMouse > 0) this->cameraNode.shiftDir(yDir);
    528528     }
    529529     else
    530530     {
    531          if(yMouse < 0) this->cameraNode.shiftDir(yDir);;
     531         if(yMouse < 0) this->cameraNode.shiftDir(yDir);
    532532     }
    533533    }
  • branches/spaceshipcontrol/src/world_entities/weapons/turret.cc

    r6671 r6722  
    116116void Turret::tick(float dt)
    117117{
    118 /*
     118
    119119  Quaternion quat;
    120   Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor();
     120  Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor();*/
    121121
    122122  direction.normalize();
     
    127127    quat = Quaternion(direction, Vector(0,1,0)) * Quaternion ( -M_PI_2, Vector(0,1,0)) ;
    128128
    129   this->setAbsDirSoft(quat, 5);*/
     129  this->setAbsDirSoft(quat, 5);
    130130}
    131131
Note: See TracChangeset for help on using the changeset viewer.