Can any expert here give me a tutorial on how to create a physics wrapper / DLL for a specific game engine ? Preferably with an easy physics engine for the Blitz3d game engine. I know how to create the declarations (.decls) file for all functions in a dll, but how to create the dll from source, because for example the source for the Newton engine, or the ODE engine contains so many .cpp and .h files that I get confused as to where the physics functions are. And no documentation on how to create a dll.
I've found some wrappers for blitz3d but I'm still interested in a tutorial.