Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 30, 2010, 2:34:37 PM (15 years ago)
Author:
gnadler
Message:
 
File:
1 edited

Legend:

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

    r6803 r6810  
    6161                RocketController* myRController = new RocketController(this);
    6262                this->setController(myRController);
    63                 myRController->setRocket(this, myRController);
     63                //myRController->setRocket(this, myRController);
    6464               
    6565                //this->getController()->setControllableEntity(this);
     
    7070        if (GameMode::isMaster())
    7171        {
    72             this->setCollisionType(WorldEntity::Kinematic);
    73             this->setVelocity(0,0,-100);
     72         /*   this->setCollisionType(WorldEntity::Kinematic);
     73            this->setVelocity(0,0,-100);*/
    7474
    7575            Model* model = new Model(this);
    7676            model->setMeshSource("Rocket.mesh");
    77             model->scale(0.7f);
     77            //model->scale(0.7f);
    7878            this->attach(model);
    79             ParticleEmitter* fire = new ParticleEmitter(this);
     79           /* ParticleEmitter* fire = new ParticleEmitter(this);
    8080            this->attach(fire);
    8181            fire->setOrientation(this->getOrientation());
     
    8989            collisionShape->setRadius(3);
    9090            collisionShape->setHeight(500);
    91             this->attachCollisionShape(collisionShape);
     91            this->attachCollisionShape(collisionShape);*/
    9292
    9393            this->destroyTimer_.setTimer(this->lifetime_, false, createExecutor(createFunctor(&SimpleRocket::destroyObject, this)));
     
    9696    }
    9797
    98     /**
     98    /**s
    9999    @brief
    100100        Destructor. Destroys controller, if present and kills sounds, if playing.
Note: See TracChangeset for help on using the changeset viewer.