acropole
18-07-2008 08:58:34
Hi,
There is nothing visible on the screen with this code :
I create many actors to be sure to see at least one, but I can't see anything.
Does the NxOgre::Sphere is also a visible object or only a collision mesh ?
Thanks.
There is nothing visible on the screen with this code :
mXWorld = new World("time-controller: ogre");
mXScene = mXWorld->createScene("Eddie", mRoot->getSceneManager("Default SceneManager") ,"gravity: yes, floor: yes");
for(int i = 0; i < 10; i++)
Actor* actor = mXScene->createActor("Atlas" + (char)i, new NxOgre::Sphere(5.0f), Vector3(7.0f * i, 50, -30), "mass: 10");
for(int i = 10; i < 20; i++)
Actor* actor = mXScene->createActor("Atlas" + (char)i, new NxOgre::Sphere(5.0f), Vector3(7.0f * i, 50, 30), "mass: 10");
I create many actors to be sure to see at least one, but I can't see anything.
Does the NxOgre::Sphere is also a visible object or only a collision mesh ?
Thanks.