I have a Box2D fluid simulation which is bugged by an annoying off stage error.
First and foremost let me tell you about the simulation. When the mouse clicks on the stage, it creates balls falling at regular gravity. These balls are mapped with a bitmap designed to look water like.
When the balls fall below the stage they are removed along with their bitmap as to be expected. But here is where it gets tricky, I have the stage moving down consistently bringing the camera up the scene up into the negative y area. Once I get up in this area, the debugdraw still shows the balls but the water does not map and the mouse cannot be clicked to create more balls (I can continue to hold and create the balls as long as I first click on the beginning stage area). Any ideas as to why this is happening?
Discuss issues specific to the Flash/AS3 port of Box2D
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests