sprite sheet returning incorrect physics body dimensions

my square sprites from an irregular spritesheet (using SpriteGrabber) are all returning physics bodies as 60x60 which is the size of the 2nd entry in my list. if i swap my second entry round with the third then all my physics bodies are 90x90. basically physics body is coming from the 2nd entry. the sprites display fine but the physics body is not the right size. so in the case below my 3rd sprite is 90x90 but has a 60x60 physics body within it

[lua]function getSpriteSheetData()
local sheet = {
frames = {
{
name = “chuzzle.png”,
spriteColorRect = { x = 0, y = 0, width = 46, height = 48 },
textureRect = { x = 122, y = 198, width = 46, height = 48 },
spriteSourceSize = { width = 46, height = 48 },
spriteTrimmed = false,
textureRotated = false
},
{
name = “crate.png”,
spriteColorRect = { x = 0, y = 0, width = 60, height = 60 },
textureRect = { x = 64, y = 90, width = 60, height = 60 },
spriteSourceSize = { width = 60, height = 60 },
spriteTrimmed = false,
textureRotated = false
},
{
name = “xcrateB.png”,
spriteColorRect = { x = 0, y = 0, width = 90, height = 90 },
textureRect = { x = 0, y = 0, width = 90, height = 90 },
spriteSourceSize = { width = 90, height = 90 },
spriteTrimmed = false,
– etc [/lua]
[import]uid: 6645 topic_id: 3561 reply_id: 303561[/import]

[added to bug tracker https://developer.anscamobile.com/issues/3491] [import]uid: 6645 topic_id: 3561 reply_id: 10740[/import]

I reported this a couple of weeks ago after the spritesheet update and I believe it is fixed and will be in the next update.

I think the real sizes get reported correctly after the first loop has finished. [import]uid: 5354 topic_id: 3561 reply_id: 10764[/import]

I’m not using it to animate though. i’m just getting a single sprite. (spriteSet,1,1)

anway hopefully that’ll be covered in the bug fix

thanks
j [import]uid: 6645 topic_id: 3561 reply_id: 10767[/import]

Heya,

Did this get fixed for you guys?

I’m currently having the same issue, and was trying to see whether it had got fixed in the daily builds.

[import]uid: 11757 topic_id: 3561 reply_id: 37301[/import]

Me too,still finding the solution. [import]uid: 62853 topic_id: 3561 reply_id: 39327[/import]

Has this been fixed? Anybody found solution to this? [import]uid: 48521 topic_id: 3561 reply_id: 39575[/import]