Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1942 in orxonox.OLD for orxonox/trunk/core/shoot_rocket.cc


Ignore:
Timestamp:
Jun 14, 2004, 1:29:58 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: the changes of Tom wern't that grat… now no more segmentation fault. Also updated the shots to a cooler version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/core/shoot_rocket.cc

    r1929 r1942  
    183183  sh->type = ROTATER;
    184184  sh->xCor = x+radius*sin(rotateAngle); sh->yCor = y; sh->zCor = z+radius*cos(rotateAngle);
    185   sh->xVel = .1*cos(rotateAngle);
    186   sh->yVel = 0.4;
    187   sh->zVel = .1*sin(rotateAngle);
     185  sh->xVel = .1*cos(rotateAngle)/step;
     186  sh->yVel = 0.4/step;
     187  sh->zVel = .1*sin(rotateAngle)/step;
    188188  sh->xAcc = 1.01; sh->yAcc = 1.01/step; sh->zAcc = 1.01;
    189189  sh->next = lastShoot;
Note: See TracChangeset for help on using the changeset viewer.