Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9617 in orxonox.OLD for branches/proxy/src/world_entities


Ignore:
Timestamp:
Jul 30, 2006, 1:05:44 PM (18 years ago)
Author:
bensch
Message:

orxonox/proxy: some nicer fading

Location:
branches/proxy/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/weapons/aim.cc

    r9612 r9617  
    119119        printf("found target::: %d %s::%s\n", (*entity)->getOMListNumber(), (*entity)->getClassCName(), (*entity)->getCName());
    120120        this->anim->replay();
    121         this->setParent/*Soft*/(*entity/*, 5 */);
     121        this->setParentSoft(*entity, 5);
    122122        return;
    123123      }
  • branches/proxy/src/world_entities/weapons/aiming_turret.cc

    r9615 r9617  
    144144    return;
    145145
    146   pj->setVelocity(/*this->getVelocity()+*/(this->getAbsDir().apply(Vector(1,0,0))*250.0 + VECTOR_RAND(13)
     146  pj->setVelocity(/*this->getVelocity()+*/(this->getAbsDir().apply(Vector(1,0,0))*250.0 + VECTOR_RAND(4)
    147147            /*target.getAbsCoor() - this->getAbsCoor()*/)*.5);//this->getVelocity());
    148148
Note: See TracChangeset for help on using the changeset viewer.