Closed verbitan closed 11 years ago
This line, b2Vec2 gravity(acceleration.y * 15, -acceleration.x *15), assumes that the device is landscape with home button on the left.
If the home button is on the right, the x axis is back to front.
This line, b2Vec2 gravity(acceleration.y * 15, -acceleration.x *15), assumes that the device is landscape with home button on the left.
If the home button is on the right, the x axis is back to front.