Immoho
11-12-2007 10:13:21
Hey guys.
I am learning about the Ninja sample on the OgreOde's wiki.The code below has an error.
I tried to complie it with my vc8,but it said that torsoBodies was not declared.
So what's the torsoBodies and the getObject()?
I think it maybe caused by the different version of OgreOde.
Mine is 0.9 and I have no idea with which vision does the Ninja sample use.
What is the worst is that OgreOde does not has an API manual!Or maybe I dont find it.
Anyone can help me?Tell me where to find the getObject() in the Ode 0.9 version.Thank u very much indeed!!
I am learning about the Ninja sample on the OgreOde's wiki.The code below has an error.
:
OgreOde::Body* torso = torsoBodies->getObject("ninja");
Quaternion q = torso->getOrientation();
I tried to complie it with my vc8,but it said that torsoBodies was not declared.
So what's the torsoBodies and the getObject()?
I think it maybe caused by the different version of OgreOde.
Mine is 0.9 and I have no idea with which vision does the Ninja sample use.
What is the worst is that OgreOde does not has an API manual!Or maybe I dont find it.
Anyone can help me?Tell me where to find the getObject() in the Ode 0.9 version.Thank u very much indeed!!