change physics body object size

Hello!!

I have a problem:

First I define an object like this

scrollBackground = display.newRect(0,params.tm+_MINI_IMG_HEIGHT, display.contentWidth, 48)
physics.addBody( scrollBackground, “static”, { friction=0.6, filter=collision_filter_platform } )

And then I modify its width (bigger):

scrollBackground.width = …

The problem is: where scrollBackground has got longer the object is not working like a body object with collision filter.

Is there another way to make a physics body object bigger without modify its performance?

Thank you very much! [import]uid: 74460 topic_id: 13250 reply_id: 313250[/import]