Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 978 for code


Ignore:
Timestamp:
Apr 3, 2008, 2:23:53 PM (17 years ago)
Author:
FelixSchulthess
Message:
 
Location:
code/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/SpaceShip.cc

    r976 r978  
    141141        this->tt_->getParticleSystem()->setParameter("local_space","true");
    142142        this->tt_->newEmitter();
    143         this->tt_->newEmitter();
    144 
    145143/*
    146144        this->tt_->setDirection(Vector3(0,0,1));
     
    149147*/
    150148        this->tt_->setDirection(Vector3(-1,0,0));
    151         this->tt_->setPositionOfEmitter(0, Vector3(-35,31,-3));
    152         this->tt_->setPositionOfEmitter(1, Vector3(-35,-31,-3));
    153         this->tt_->setPositionOfEmitter(2, Vector3(-48,0,20));
     149        this->tt_->setPositionOfEmitter(0, Vector3(-15,20,-1));
     150        this->tt_->setPositionOfEmitter(1, Vector3(-15,-20,-1));
    154151        this->tt_->setVelocity(50);
    155152
     
    165162        this->greenBillboard_.setBillboardSet("Examples/Flare", ColourValue(0.0, 1.0, 0.0), 1);
    166163
    167         this->redNode_ = this->getNode()->createChildSceneNode(this->getName() + "red", Vector3(-0.9, 3.3, -0.4));
     164        this->redNode_ = this->getNode()->createChildSceneNode(this->getName() + "red", Vector3(0.3, 4.7, -0.3));
    168165        this->redNode_->setInheritScale(false);
    169         this->greenNode_ = this->getNode()->createChildSceneNode(this->getName() + "green", Vector3(-0.9, -3.3, -0.4));
     166        this->greenNode_ = this->getNode()->createChildSceneNode(this->getName() + "green", Vector3(0.3, -4.7, -0.3));
    170167        this->greenNode_->setInheritScale(false);
    171168
  • code/trunk/src/orxonox/objects/SpaceShip.h

    r976 r978  
    8484            float mouseY_;
    8585
    86             float emitterRate_;
     86            int emitterRate_;
    8787    };
    8888}
Note: See TracChangeset for help on using the changeset viewer.