Resize bounding box?

so I’m trying to get my collision to work & feel a bit better. Problem is the bounding box surrounding my player while it can be changed, it does not change for each texture atlas animation. how to do this so it’s an automatic resizing for each texture atlas animation?

figured it out : do this in your update loop :

sprite.body.offset.x =  0;
sprite.body.offset.y = 0;
sprite.body.width = sprite.width;
sprite.body.height = sprite.height;

:slight_smile: