Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6565 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Jan 18, 2006, 3:06:19 PM (19 years ago)
Author:
bensch
Message:

trunk: turret does not move anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/turret.cc

    r6561 r6565  
    115115void Turret::tick(float dt)
    116116{
     117/*
    117118  Quaternion quat;
    118   Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor();*/
     119  Vector direction = this->getAbsCoor();/*this->getWeaponManager()->getFixedTarget()->getAbsCoor() - this->getAbsCoor();
    119120
    120121  direction.normalize();
     
    125126    quat = Quaternion(direction, Vector(0,1,0)) * Quaternion ( -M_PI_2, Vector(0,1,0)) ;
    126127
    127   this->setAbsDirSoft(quat, 5);
     128  this->setAbsDirSoft(quat, 5);*/
    128129}
    129130
Note: See TracChangeset for help on using the changeset viewer.