Changeset 468 for code/branches/AI/src
- Timestamp:
- Dec 12, 2007, 1:50:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.