lordmonkey
06-04-2011 14:16:54
Hello everyone,
I am new to NxOgre and Critter so please be tolerant
I have downloaded and built NxOgre ( buggyswires ) and Critter from repositories (and physx ofc) and I am struggling to get something ( even the simplest thing working with it but I can't. I have tried the tutorials from this site :
http://www.ogre3d.org/tikiwiki/BloodyMess+Tutorial+2
and this one
http://www.ogre3d.org/tikiwiki/NxOgre+T ... =Libraries
but I think there is some kind of big difference between bloddymess and buggyswires so that i can't do the tutorials from bloddymess on buggyswires version.
I need something very simple like this :
but :
1) OGRE3DRenderSystem is an error type and I cannot find it anywhere
2)Cube is an error type
3)I cannot find proper createActor function description
any help for a beginner ?
I am new to NxOgre and Critter so please be tolerant

I have downloaded and built NxOgre ( buggyswires ) and Critter from repositories (and physx ofc) and I am struggling to get something ( even the simplest thing working with it but I can't. I have tried the tutorials from this site :
http://www.ogre3d.org/tikiwiki/BloodyMess+Tutorial+2
and this one
http://www.ogre3d.org/tikiwiki/NxOgre+T ... =Libraries
but I think there is some kind of big difference between bloddymess and buggyswires so that i can't do the tutorials from bloddymess on buggyswires version.
I need something very simple like this :
mNxWorld = NxOgre::World::createWorld(); //("time-controller:ogre, log:yes");
NxOgre::SceneDescription sceneDesc;
sceneDesc.mGravity = NxOgre::Vec3(0, -9.8f, 0);
sceneDesc.mName = "OgreApp1";
mNxScene = mNxWorld->createScene(sceneDesc);
mNxScene->getMaterial(0)->setStaticFriction(0.5);
mNxScene->getMaterial(0)->setDynamicFriction(0.5);
mNxScene->getMaterial(0)->setRestitution(0.1);
mRenderSystem = new OGRE3DRenderSystem(mNxScene);
NxOgre::ShapeDescription shapeDesc;
NxOgre::Actor* actor1 = mNxScene->createActor(new Cube(1), Vector3(0,5,0), "mass:10");
but :
1) OGRE3DRenderSystem is an error type and I cannot find it anywhere
2)Cube is an error type
3)I cannot find proper createActor function description
any help for a beginner ?