-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electricity and general attractive/repulsive force? #158
Comments
There is no built in ready to use support for this. You will have to do something yourself. There are some resources for Chipmunk (The c library pymunk is using) that you might find useful: |
Rereading this issue I see that another thing should be clarified: Pymunk does not calculate any gravity force between two bodies. The only thing it does is calculate how the gravity set on the space should affect each body. |
pymunk.Body seems to only support gravitation, but not other types of mechanical forces, e.g. electricity.
Is it possible to specify body electric charges?
More generally: is it possible to specify polynomial attractive/repulsive force, and specify its per-body "charges"?
The text was updated successfully, but these errors were encountered: