Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当它接触到另一个碰撞检测时,我有一个形状,因为我需要在 xcode 中绘制 b2Polygon 形状。我需要适当的顶点来在 iPhone 中绘制这个形状。谁能帮我怎么做?
谢谢,
安克斯
box2d 中有调试绘图。请参阅 cocos2d 附带的任何 box2d 测试平台示例。那就是如果你想要你的 b2Shapes 被绘制。