Jump to content
  • Advertisement
Sign in to follow this  
d000hg

Bullet Vs ODE (or any other) for iOS project

This topic is 1766 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need to add 3D collision detection to a Windows/iOS C++ project. Physical simulation isn't required. I'm not having great success figuring out which engines have good support for iOS - bullet definitely claims support and I can find a couple of people claiming to have done it in ODE but no instructions or handy build-scripts, and ease of use is definitely important.

 

Any anecdotal advice or links would be welcome... if you've implemented collision detection in a mobile game what did you use? So far I'm leaning towards bullet but not based on a lot of information!

 

Thanks (also mods, not sure if this should be in mobile or physics forum)

Share this post


Link to post
Share on other sites
Advertisement

I got my game which uses bullet physics to work on iOS with no problems (at least, working as far as the simulator, never quite got around to getting it on a device).

Share this post


Link to post
Share on other sites

It's been many, many years since I've even tried to use ODE. Bullet is an excellent engine, easily AAA/industry quality and it has shipped with plenty of games. You know you're getting a solid system that can handle almost anything you throw at it. It's getting massive GPU simulation support in the very near future too, which is a big step forward. On almost any technical merit I would choose Bullet without reservation.

 

What is not so good about Bullet is the documentation. We've had to pour over the source code to understand what's going on and how to use functions.

Share this post


Link to post
Share on other sites

I got my game which uses bullet physics to work on iOS with no problems (at least, working as far as the simulator, never quite got around to getting it on a device).

 

Can you recall how getting it building for iOS was? I get the impression there isn't a pre-built binary/framework so I'd have to set up an XCode project and add the sources manually?

 

Maybe I'll just ask on the bullet forums, but I wanted to try and check it wasn't a stupid question first :)

Share this post


Link to post
Share on other sites

Getting bullet to work on iOS is super easy. Ignore the instructions they give.

1) Create a new XCode iOS static library project and empty it out.

2) Add the entire bullet source tree.

3) You'll need to remove some CMake files manually, or XCode will complain about not knowing what they're for. There's also a few other things to skip like MiniCL, ibmsdk, etc.

4) Link it to your application like any XCode static library project.

 

I've never bothered with CMake to build bullet.

Edited by Promit

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!