Okay, according to this post, I was missing setDisplayOrigin (fiddle). I don’t completely understand why, but it fixed the issue with a sprite having the custom polygon body.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Matter Sprite with vertices and center of mass - not fitting image | 2 | 1550 | May 4, 2021 | |
| Setting display origin and "shape" origin for a matter sprite | 4 | 3777 | September 22, 2019 | |
| Phaser 3.16.2 and 3.24.1 Matterjs sprite body position difference | 1 | 482 | December 20, 2020 | |
| How to offset matter physics body | 1 | 307 | December 23, 2023 | |
| Matter sprites all over the place | 1 | 488 | November 18, 2020 |