Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket/src/modules/weapons/projectiles/SimpleRocket.cc

    r6949 r6905  
    8181            this->setCollisionType(Kinematic);
    8282
    83             // TODO: fix the orientation and size of this collision shape to match the rocket
    8483            ConeCollisionShape* collisionShape = new ConeCollisionShape(this);
    8584            collisionShape->setRadius(3);
    86             collisionShape->setHeight(5);
     85            collisionShape->setHeight(500);
    8786            this->attachCollisionShape(collisionShape);
    8887
     
    9796            this->setAngularVelocity(this->getOrientation() * this->localAngularVelocity_);
    9897            this->setVelocity( this->getOrientation()*WorldEntity::FRONT*this->getVelocity().length() );
    99             this->localAngularVelocity_ = 0;
    10098
    10199            if( this->bDestroy_ )
Note: See TracChangeset for help on using the changeset viewer.