
I've made several improvements to the Nogredex framework so I thought this was worthy of a new thread.
* It works with Ogre 1.0.1!
* Better simulation reset support! Just call mNogredex->init() and everything is destroyed and re-initialized correctly.
* Load any mesh you want! Ogre meshes can now be physically simulated as either a box, capsule, or a triangle mesh.
Notes:
If you try out your own mesh and attempt to simulate it as a triangle mesh make sure that it is a CLOSED mesh. Novodex will return NULL when the actor is created if the mesh isn't closed... or simply crash.
Limitations (Bugs):
Meshes simulated as triangle meshes are limited to 64k indices or less, which means you can't have more than 64k/3 faces. Yes, this is probably a good thing. No, the code doesn't check this for you.
Meshes simulated as triangle meshes that have more than one sub-mesh aren't supported.
Download: here
I would greatly appreciate comments/feedback/code review.
-robert
robertwrose.com