Victor Blomqvist

Results 96 comments of Victor Blomqvist

Ah, sorry. Let me reopen this again. I dont have a quick answer right now.

Interesting! The note about pyodide was only to have a starting point / reminder about wasm. After I wrote it I managed to compile it (and import) pymunk out-of-the-box with...

I will definitely take a look once I have some time free for Pymunk development. 👍

Reviving this issue. Today I had a bit time over as evident by the other ticket. After getting stuck with pygame-web I looked back at Pyodide. It looks like they...

Ah, right, pyodide still doesnt support 3.11, while pygame-web build doesnt support 3.10. Hopefully pyodide will catch up soon, if not earlier then at least when 3.11 is released fully....

There are some hidden state in the underlying Chipmunk library which Pymunk uses for the physics calculations. Basically it has to do with caching impulses for resolving contact between steps....

Both methods will activate (wake from sleep) the body. Apply impulse will update velocity and angular velocity of body directly. Apply force will set the force and torque (angular force)....

Ok, thanks. Did some small experiments now, and I can also see the issue. A little bit surprising for me was that even loading and running the same space.pkl file...

Ive made some more investigation into this. Good news is that I found one problem which is easy to fix: Bodies and constraints in the space are kept in a...

Small update: To make it fully stable the cached collision data needs to be exported out from Chipmunk. Currently Chipmunk does not provide any API for this, so it needs...