Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5462 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Oct 30, 2005, 7:48:40 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: random distribution of the Lasers

File:
1 edited

Legend:

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

    r5459 r5462  
    185185  pj->setParent(NullParent::getInstance());
    186186
    187   pj->setVelocity(this->getVelocity() + this->getAbsDir().apply(Vector(1,0,0))*50);
     187  pj->setVelocity(this->getVelocity() + this->getAbsDir().apply(Vector(1,0,0))*50+VECTOR_RAND(5));
    188188
    189189  pj->setAbsCoor(this->getEmissionPoint());
Note: See TracChangeset for help on using the changeset viewer.