Davaaron Posted August 15, 2018 Share Posted August 15, 2018 Hi, I'm using the Physics Editor to create shapes for my sprites. I reset the position for the bodies with sprite.body.x += sprite.width / 2; sprite.body.y += sprite.height / 2; to make the body fit the sprite and it works as expected. Unfortunately this doesn't work for TileSprites. It looks like, whenever I apply the above statements to a TileSprite, that the sprite and the body are moved, which is not what I'm going to achieve. How can I set the body of a TileSprite to the correct position again? Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts