physics - add body question

Hello,

If you add a body to a square object, that’s straight forward.

But what if I have an object that stretches and contracts. I want to be able to hittest on it when it’s long, and when it’s short.

Is there any way to make a physics body contract and stretch with a graphic sprite like a worm?

Would you have to add a sprite event listener and then remove and re add the body each frame?

Thanks

Tom [import]uid: 55068 topic_id: 14710 reply_id: 314710[/import]