Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 25, 2005, 12:28:20 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: some minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/story_entities/world.cc

    r3950 r3951  
    372372            //localCamera->setParent(TrackNode::getInstance());
    373373            tn->addChild(this->localCamera);
     374            localCamera->setMode(PNODE_MOVEMENT);
    374375            //      localCamera->lookAt(tn);
    375             this->localPlayer->setMode(PNODE_ALL);
     376            this->localPlayer->setMode(PNODE_ROTATE_AND_MOVE);
    376377            //Vector* cameraOffset = new Vector (0, 5, -10);
    377378            trackManager->condition(2, LEFTRIGHT, this->localPlayer);
     
    380381            ParticleEmitter* testEmitter,* testEmitter2;
    381382            ParticleSystem* testSystem;
    382             testEmitter = new ParticleEmitter(Vector(-1,0,0), .4, 60.0, 0);
     383            testEmitter = new ParticleEmitter(Vector(-1,0,0), .4, 600.0, 0);
    383384            testEmitter->setParent(localPlayer);
    384385            testEmitter->setRelCoor(Vector(-3, 0, 0));
     
    392393            testSystem->setLifeSpan(1, .2);
    393394            testSystem->setRadius(3.0, 0.0, .5);
    394             testSystem->setConserve(.8);
     395            testSystem->setConserve(1);
    395396            testSystem->setInheritSpeed(1);
    396397            testSystem->setName("system");
Note: See TracChangeset for help on using the changeset viewer.