when the balls drop down, after a while if there are not any moves, the bodies seem frozen, the bodies become dim. The balls can not move if change physics gravity value to opposite value. This problem prevents me from using only accelerometer to control the balls.
You can fix this by setting the body’s isSleepingAllowed property to false after you create the body: http://docs.coronalabs.com/api/type/Body/isSleepingAllowed.html.
- Andrew
You can fix this by setting the body’s isSleepingAllowed property to false after you create the body: http://docs.coronalabs.com/api/type/Body/isSleepingAllowed.html.
- Andrew