Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 468 for code


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

changed resources.cfg

Location:
code/branches/AI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI/bin/resources.cfg

    r332 r468  
    88FileSystem=../Media
    99FileSystem=../Media/fonts
    10 #FileSystem=../Media/materials/programs
    11 #FileSystem=../Media/materials/scripts
    12 #FileSystem=../Media/materials/textures
    13 #FileSystem=../Media/models
     10FileSystem=../Media/materials/programs
     11FileSystem=../Media/materials/scripts
     12FileSystem=../Media/materials/textures
     13FileSystem=../Media/models
    1414#FileSystem=../Media/overlays
    1515#FileSystem=../Media/particle
  • 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.