Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 4:00:23 PM (17 years ago)
Author:
nicolasc
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/weapons/spike_thrower.cc

    r10256 r10260  
    156156  pj->setParent(PNode::getNullParent());
    157157
    158   pj->setVelocity(this->getAbsDir().apply(Vector(1,0,0))*150);
     158//   pj->setVelocity(this->getParent()->getAbsDir().apply(Vector(1,0,0))*200 + this->getParent()->getParent()->getVelocity());
     159  pj->setVelocity(this->getParent()->getVelocity() + this->getAbsDir().apply(Vector(1,0,0))*160);
     160
    159161  pj->setAbsCoor(this->getEmissionPoint());
    160   pj->toList(this->getOMListNumber());
    161 
    162162  pj->setAbsDir(this->getAbsDir());
    163163  pj->activate();
Note: See TracChangeset for help on using the changeset viewer.