Changeset 3951 in orxonox.OLD for orxonox/branches/particleEngine/src/story_entities
- Timestamp:
- Apr 25, 2005, 12:28:20 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/story_entities/world.cc
r3950 r3951 372 372 //localCamera->setParent(TrackNode::getInstance()); 373 373 tn->addChild(this->localCamera); 374 localCamera->setMode(PNODE_MOVEMENT); 374 375 // localCamera->lookAt(tn); 375 this->localPlayer->setMode(PNODE_ ALL);376 this->localPlayer->setMode(PNODE_ROTATE_AND_MOVE); 376 377 //Vector* cameraOffset = new Vector (0, 5, -10); 377 378 trackManager->condition(2, LEFTRIGHT, this->localPlayer); … … 380 381 ParticleEmitter* testEmitter,* testEmitter2; 381 382 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); 383 384 testEmitter->setParent(localPlayer); 384 385 testEmitter->setRelCoor(Vector(-3, 0, 0)); … … 392 393 testSystem->setLifeSpan(1, .2); 393 394 testSystem->setRadius(3.0, 0.0, .5); 394 testSystem->setConserve( .8);395 testSystem->setConserve(1); 395 396 testSystem->setInheritSpeed(1); 396 397 testSystem->setName("system");
Note: See TracChangeset
for help on using the changeset viewer.