I'm confused...

WhirledPeas

30-03-2011 09:34:52

So, Ive managed to download and build OgreBullet, and I've been trying to learn how to use it, however, there seems to be a major lack of documentation or an API for OgreBullet. I gather that maybe I'm supposed to use the regular Bullet documentation and API; however, doesn't OgreBullet use different class names and namespaces than Bullet? Where do I go to find the class constructor syntax and namespace info for OgreBullet? So far I've had to go digging into the header files themselves to find what I've needed, but that is hardly an easy way of going about it.

dermont

30-03-2011 10:28:58

AFAIK there isn't any documentation, you could try generating a simple api in html with doxygen, e.g.


a) doxygen -g OgreBullet.cfg
b) edit OgreBullet.cfg and set the paths for the headers:
INPUT = /media/sda8/Libraries/OGRE/ogre-addons/ogrebullet_src/Collisions/include \
/media/sda8/Libraries/OGRE/ogre-addons/ogrebullet_src/Collisions/include/Debug \
/media/sda8/Libraries/OGRE/ogre-addons/ogrebullet_src/Collisions/include/Shapes \
/media/sda8/Libraries/OGRE/ogre-addons/ogrebullet_src/Collisions/include/Utils \
/media/sda8/Libraries/OGRE/ogre-addons/ogrebullet_src/Dynamics/include \
/media/sda8/Libraries/OGRE/ogre-addons/ogrebullet_src/Dynamics/Prefab \
/media/sda8/Libraries/OGRE/ogre-addons/ogrebullet_src/Dynamics/Constraints
c) doxygen OgreBullet.cfg


The above should generate the api in the html directory. You could also check the doxygen config files in the Ogre CMake Templates dir; not ideal but better than nothing.

omniyo

01-04-2011 11:42:14

It works!