cocos2d / cocos2d-html5

Cocos2d for Web Browsers. Built using JavaScript.
https://www.cocos.com
3.06k stars 903 forks source link

Box2d debug drawing position issue #835

Open acc85 opened 11 years ago

acc85 commented 11 years ago

Debug in box2d does not draw the boxes correctly, the boxes are drawn inverted and a certain offset form the objects.

JakeLin commented 9 years ago

Because they are using different axis system. cocos2d is using Open GL axis system, and box2d is using DOM one.