Combined center of gravity in pymunk

No, for different bodies there is nu built in function (as of Pymunk 5.7).

(It would be possible to set mass directly on the shapes, then attach all of them to a single body and read it out from the body. But if you actually need several different bodies I think manual calculation is much easier)

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top