This is a 2D cross platform physics library.
http://wiki.slembcke.net/main/published/Chipmunk
Its fast, very fast, much faster than 3D physic libs because its optimised for 2 dimensions only. Its also open source and platform independant.
See here for an example...
http://files.slembcke.net/chipmunk/movies/sketches.mov
Looks realy GREAT !!!
Very clever.
Can someone, please write a wrapper for it?
I will do, but i need a Dll !
can you make a little one? :D
Is there no dll? Is it just C?
Trucidare?
QuoteC99 implementation, no external dependencies.
Why not just inline (C #include?) the whole thing, its not terribly big and this would allow it to work on all GLBasic supported platforms, not just windows?
My C is not up to this or I would give more help :(
i make it tomorrow on work...
So how's it going?
Quote from: PolarwolfSo how's it going?
So how is it... erm?
Dunno if anyone is still working on the conversion but Box2D (http://www.box2d.org/ of which Chipmunk is based on version 1) version 2.0 is out, this fixes a lot of the problems with Chipmunk (Swept collisions for example) and kinda supersedes it now. Its still cross-platform and graphics API independent though... word to the wise.
Yes, I've seen it on a PocketPC this week. Looks really promising. We'll definitely should wrap this one.
There's even a fixed point version in the works on the SVN that would run on the GPX ;)
It know it compiles with GCC but my knowledge of C is limited, damn, I knew I shoulda kept awake during my college C classes! :P