radsun
26-05-2008 06:28:37
On http://www.nxogre.org/what i found this code:
This it for what version of NxOgre?
I have 0.9 and the create scene looks that:
Next ther is a createActor but there is error:
World* mWorld = new World("time-controller: ogre");
Scene* mScene = mWorld->createScene("Eddie", "gravity: yes, floor: yes, renderer: ogre");
Actor* mActor = mScene->createActor("Atlas", new Sphere(0.5), Vector3(3, 10, -2), "mass: 10");
This it for what version of NxOgre?
I have 0.9 and the create scene looks that:
Scene* mScene = mWorld->createScene("Eddie", mSceneMgr, "gravity: yes, floor: yes, renderer: ogre");
Next ther is a createActor but there is error:
.\val.cpp(332) : error C2664: 'NxOgre::Sphere::Sphere(const NxOgre::Sphere &)' : cannot convert parameter 1 from 'double' to 'const NxOgre::Sphere &'
Reason: cannot convert from 'double' to 'const NxOgre::Sphere'