Chipmunk Physics

Previous topic - Next topic

bigsofty

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
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Schranz0r

Looks realy GREAT !!!
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Ian Price

Very clever.
I came. I saw. I played.

Kitty Hello

Can someone, please write a wrapper for it?

Schranz0r

I will do, but i need a Dll !
can you make a little one? :D
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Kitty Hello

Is there no dll? Is it just C?
Trucidare?

bigsofty

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 :(
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

trucidare

i make it tomorrow on work...
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Polarwolf

So how's it going?

bigsofty

Quote from: PolarwolfSo how's it going?
So how is it... erm?
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

bigsofty

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.
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Kitty Hello

Yes, I've seen it on a PocketPC this week. Looks really promising. We'll definitely should wrap this one.

bigsofty

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
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)