Jump to content

Matter sprite origin


Recommended Posts

Hello, I'm wondering if there is way to change offest on collider.

var sprite = this.matter.add.sprite(600, 300, 'diamond');
sprite.setOrigin(0.1, 0.60);

The sprite's offset is changed correctly but collider is on same place as before.


Thanks for further reply.


Link to comment
Share on other sites

  • 1 year later...

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...