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.
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.