Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 468 for code/branches/AI/src


Ignore:
Timestamp:
Dec 12, 2007, 1:50:59 PM (17 years ago)
Author:
landauf
Message:

changed resources.cfg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI/src/orxonox.cc

    r465 r468  
    328328    SceneManager *mgr = mRoot->getSceneManager("Default SceneManager");
    329329    mgr->setAmbientLight(ColourValue(1.0,1.0,1.0));
     330
    330331    Entity* ent1 = mgr->createEntity("Head1", "ogrehead.mesh");
    331332    Entity* ent2 = mgr->createEntity("Head2", "ogrehead.mesh");
     
    337338    Entity* ent8 = mgr->createEntity("Head8", "ogrehead.mesh");
    338339    Entity* ent9 = mgr->createEntity("Head9", "ogrehead.mesh");
     340
    339341    SceneNode *node1 = mgr->getRootSceneNode()->createChildSceneNode("HeadNode1", Vector3(100,300,100));
    340342    SceneNode *node2 = mgr->getRootSceneNode()->createChildSceneNode("HeadNode2", Vector3(300,0,200));
     
    364366    node8->attachObject(ent8);
    365367    node9->attachObject(ent9);
     368
    366369    ElementLocationArray[0] = node1->getPosition();
    367370    ElementLocationArray[1] = node2->getPosition();
Note: See TracChangeset for help on using the changeset viewer.