Is there any physics engine SDK for iPhone/iPod touch and iPad?

前端 未结 2 1510
不思量自难忘°
不思量自难忘° 2021-01-02 22:04

Is there any physics engine SDK for iPhone/iPod touch and iPad?

相关标签:
2条回答
  • 2021-01-02 22:53

    I've used the SIO2 engine for developing games on the iPhone, and it uses the open-source physics engine bullet. I'm not sure if all the soft-body features are available, but certainly the rigid body ones are. I don't know if anybody has written an Objective-C wrapper, but you certainly don't need one.

    0 讨论(0)
  • 2021-01-02 23:04

    The Chipmunk engine is written in C, and they've even provided an Objective-C wrapper.

    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++.

    Both are excellent. (I've only extensively used Box2D, but I've heard great things about Chipmunk too.)

    0 讨论(0)
提交回复
热议问题