- Timestamp:
- Dec 12, 2007, 1:50:59 PM (17 years ago)
- Location:
- code/branches/AI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI/bin/resources.cfg
r332 r468 8 8 FileSystem=../Media 9 9 FileSystem=../Media/fonts 10 #FileSystem=../Media/materials/programs11 #FileSystem=../Media/materials/scripts12 #FileSystem=../Media/materials/textures13 #FileSystem=../Media/models10 FileSystem=../Media/materials/programs 11 FileSystem=../Media/materials/scripts 12 FileSystem=../Media/materials/textures 13 FileSystem=../Media/models 14 14 #FileSystem=../Media/overlays 15 15 #FileSystem=../Media/particle -
code/branches/AI/src/orxonox.cc
r465 r468 328 328 SceneManager *mgr = mRoot->getSceneManager("Default SceneManager"); 329 329 mgr->setAmbientLight(ColourValue(1.0,1.0,1.0)); 330 330 331 Entity* ent1 = mgr->createEntity("Head1", "ogrehead.mesh"); 331 332 Entity* ent2 = mgr->createEntity("Head2", "ogrehead.mesh"); … … 337 338 Entity* ent8 = mgr->createEntity("Head8", "ogrehead.mesh"); 338 339 Entity* ent9 = mgr->createEntity("Head9", "ogrehead.mesh"); 340 339 341 SceneNode *node1 = mgr->getRootSceneNode()->createChildSceneNode("HeadNode1", Vector3(100,300,100)); 340 342 SceneNode *node2 = mgr->getRootSceneNode()->createChildSceneNode("HeadNode2", Vector3(300,0,200)); … … 364 366 node8->attachObject(ent8); 365 367 node9->attachObject(ent9); 368 366 369 ElementLocationArray[0] = node1->getPosition(); 367 370 ElementLocationArray[1] = node2->getPosition();
Note: See TracChangeset
for help on using the changeset viewer.