是否有适用于iPhone / iPod touch和iPad的物理引擎SDK? [英] Is there any physics engine SDK for iPhone/iPod touch and iPad?
本文介绍了是否有适用于iPhone / iPod touch和iPad的物理引擎SDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有适用于iPhone / iPod touch和iPad的物理引擎SDK?
Is there any physics engine SDK for iPhone/iPod touch and iPad?
推荐答案
Chipmunk引擎是用C语言编写的,他们甚至提供了一个Objective-C包装器。
The Chipmunk engine is written in C, and they've even provided an Objective-C wrapper.
Box2D引擎是用C ++编写的,所以它可以是编辑/链接到iPhone OS项目,告诉Xcode将其视为Objective-C ++。
The Box2D engine is written in C++, and so it can be compiled/linked into an iPhone OS project by telling Xcode to treat it as Objective-C++.
两者都非常好。 (我只是广泛使用Box2D,但我也听说过有关Chipmunk的好消息。)
Both are excellent. (I've only extensively used Box2D, but I've heard great things about Chipmunk too.)
这篇关于是否有适用于iPhone / iPod touch和iPad的物理引擎SDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文