简体   繁体   中英

draw debug shapes with box2d in ios, how?

Im using the latest cocos2d iphone 2.0 with box2d (dont know the version).

I try to display the shapes in debug mode, how do I do that?

Regards Mirza

See the two box2d samples that come with cocos2d. They are drawing the box2d shapes.

If that does not help, check out this tutorial and SO question .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM