Updating world boundaries

Hey all,

I am working on a website with some box2D features and papervision. I am using box2D for the physics aspect. One of the things I can't seem to find is how to update the world boundaries when scaling the boundaries. I figured out how to destroy and update the walls, but no luck on the world boundaries. So when I scaled the browser bigger, the walls adjust correctly but when the objects pass the initial world boundary they just freeze up. Do I have to destroy the world and create a new one? I was also curious about how to destroy a world as well. I had no success finding any of this stuff online.

Your help would be great, thanks.
Destroying the world can be tricky or easy depending on how you set up your objects. If you have been careful about retaining references, then you can destroy it by calling destroy on all the bodies and joints and finally just null the world object.

As for the world boundaries, you can comfortably make them as large as you need. So set the boundary to the size that your screen will be at full screen( or a bit bigger if you want to support larger resolutions ) and you should be good.
Thanks, making the boundaries bigger worked out.

Original thread: https://box2d.org/forum/viewtopic.php?t=3291