Page 1 of 1

"electrical static" repulsion between bodies?

Posted: Thu Mar 03, 2016 6:59 am
by EBjerrum
Hi,
I'm new to chipmunk and general physics engines in general, but I'm looking into modelling repulsion/anti-magnetism/electrical repulsion between the bodies. Is this possible in chipmunk? Are there anything implemented for these kind of effects?

/Esben
-----
www.wildcardconsulting.dk

Re: "electrical static" repulsion between bodies?

Posted: Thu Mar 03, 2016 12:15 pm
by slembcke
Not directly, though years ago somebody had contributed a demo to implement them:
https://github.com/slembcke/Chipmunk2D/ ... e9b5019305

I think That was for Chipmunk 4.x probably? So it might take a little work to get it building. It was a really neat demo, but eventually I removed since I didn't want to support it as a feature.