# Matter Physics Polygon Body Has Weird Offset

**URL:** <https://phaser.discourse.group/t/matter-physics-polygon-body-has-weird-offset/14762>\
**Category:** Phaser 3\
**Created:** [September 15, 2024, 8:06pm UTC](https://phaser.discourse.group/t/matter-physics-polygon-body-has-weird-offset/14762 "2024-09-15T20:06:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![incutonez](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/incutonez/32/8526_2.png) [@incutonez](https://phaser.discourse.group/u/incutonez)\
**Post date:** [September 16, 2024, 5:33pm UTC](https://phaser.discourse.group/t/matter-physics-polygon-body-has-weird-offset/14762/3 "2024-09-16T17:33:40Z")

</div>

Okay, according to [this post](https://phaser.discourse.group/t/phaser-3-16-2-and-3-24-1-matterjs-sprite-body-position-difference/8195/2), I was missing setDisplayOrigin ([fiddle](https://jsfiddle.net/incutonez/z437rLxa/21/)). I don’t completely understand why, but it fixed the issue with a sprite having the custom polygon body.

---

_[View the full topic](https://phaser.discourse.group/t/matter-physics-polygon-body-has-weird-offset/14762)._
