Box2D physics not behaving properly

Jul 11, 2010 at 5:36 AM
Edited Jul 11, 2010 at 5:39 AM

k I know I am doing something wrong, since I have done these examples before but for some reason I can't get it to work and I have been stuck for the past 4 hrs on it. Basically, I click on the screen and it removes one of those green blocks, obviously, the board needs to drop to the side but it is not happening. Here is the code

Here is the code

Here is the video


Jul 11, 2010 at 2:22 PM

My first suspicion is that the board body is not waking up. However, if it's in contact with the green box that vanishes when the green box is woken up, I'd expect the board to wake up too. Have you tried the debug visualization yet? It can make problems much clearer.