Changeset 537 for code/branches/FICN/src/orxonox
- Timestamp:
- Dec 16, 2007, 1:07:59 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/orxonox.cc
r535 r537 391 391 } 392 392 393 /** 394 * 395 * @param 396 */ 393 397 void Orxonox::createScene(void) 394 398 { … … 414 418 415 419 420 /** 421 * 422 */ 416 423 void Orxonox::setupScene() 417 424 { … … 425 432 steering_->addNode(node); 426 433 427 /* 428 particle::ParticleInterface *e = new particle::ParticleInterface(mgr,"engine"," strahl");434 435 particle::ParticleInterface *e = new particle::ParticleInterface(mgr,"engine","Orxonox/strahl"); 429 436 e->particleSystem_->setParameter("local_space","true"); 430 e->setPositionOfEmitter(0, Vector3(0,0,-10)); 431 e->setDirection(Vector3(0,0,-1));*/ 432 // e->addToSceneNode(node); 433 434 437 e->setPositionOfEmitter(0, Vector3(0,-10,200)); 438 e->setDirection(Vector3(0,0,-1)); 439 e->addToSceneNode(node); 440 441 particle::ParticleInterface *w = new particle::ParticleInterface(mgr,"schuss","Orxonox/schuss"); 442 w->particleSystem_->setParameter("local_space","true"); 443 w->newEmitter(); 444 w->setDirection(Vector3(0,0,1)); 445 w->setPositionOfEmitter(0, Vector3(10,10,0)); 446 w->setPositionOfEmitter(1, Vector3(-10,10,0)); 447 w->addToSceneNode(node); 435 448 } 436 449
Note: See TracChangeset
for help on using the changeset viewer.