Chipmunk static body offset off the sprite center

I found strange behaviour with static bodies. Bodies are not aligned with sprite image and placed by half of width of the sprite’s image to the left off the sprite’s center and half of the image height to bottom so you get offset for quarter of the rectangle (box body) to the left and bottom of the sprite’s center. Non static bodies are well aligned with sprite’s image.

On the image you can see quarter of the grey rectangle (static body) which should fill in whole white space but instead of it is displaced.


static_body_offset.png (18.5 KB)