pymunk icon indicating copy to clipboard operation
pymunk copied to clipboard

Pymunk is a easy-to-use pythonic 2d physics library that can be used whenever you need 2d rigid body physics from Python

Results 24 pymunk issues
Sort by recently updated
recently updated
newest added

Hi, i saw the note about pyodide support : that sounds promising :) but is there any reason to build for pyodide instead of CPython upstream directly ? CPython 3.11...

It would be pretty cool if we could add liquids that flow around and react to gravity. These could be common in platformer games like lava or just water.

I am in the process of making this battle simulator game where two armies battle each other when they are in ranks. Of course, the soldiers shoot arrows at the...

Experiencing irregular python interpreter crashes. Crash happens 20-30% of the time that error producing line is executed. Code is using a multiprocessing pool, dont know if that is relevant but...

1. Run this code: https://github.com/viblo/pymunk/blob/master/examples/spiderweb.py 1. Getting error: ``` Traceback (most recent call last): File "C:/pymunk_proj/spiderweb.py", line 184, in pyglet.app.run() File "C:\Program Files\Python38\lib\site-packages\pyglet\app\__init__.py", line 107, in run event_loop.run(interval) File "C:\Program...

Below, I have created a simulation where a box lands on a flat floor. ```python import pymunk space = pymunk.Space() space.gravity = (0, -1) box_body = pymunk.Body() box_shape = pymunk.Poly.create_box(box_body,...

I am using Pymunk version 5.6.0 on ubunutu 18.04. I write a simulation environment with a set of dynamics balls connected by damped springs. I apply a series of actions...

this is a example source.py [crashTest.zip](https://github.com/viblo/pymunk/files/3378954/crashTest.zip) #when the num is 30000 it work well #when the num is more than 40000 or 100000, it will get crashed in the line...

[pymunk.Body](http://www.pymunk.org/en/latest/pymunk.html#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...

I'm building a system that really needs to put two object at the same place. They are not colliding, in fact the first doesn't even have a shape. How to...