"electrical static" repulsion between bodies?

Official forum for the Chipmunk2D Physics Library.

"electrical static" repulsion between bodies?

Postby EBjerrum » Thu Mar 03, 2016 6:59 am

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
EBjerrum
 
Posts: 1
Joined: Thu Mar 03, 2016 6:51 am

Re: "electrical static" repulsion between bodies?

Postby slembcke » Thu Mar 03, 2016 12:15 pm

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.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 1 guest