example code of actual implementations?

monsieurpooh
Posts: 2
Joined: Fri Jun 07, 2013 7:16 am

example code of actual implementations?

Post by monsieurpooh »

Are there any resources of example code of a game using bullet physics? The documentation is good and the plethora of tutorials are wonderful, but not enough. Being able to copy/paste and modify some simple things (like how to set up and start a motor on a joint) would greatly simplify something that would take me a long time to research and implement from scratch.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: example code of actual implementations?

Post by Erwin Coumans »

You could check out SuperTuxKart, it uses Bullet and is open source:
http://supertuxkart.sourceforge.net/
http://sourceforge.net/p/supertuxkart/c ... c/physics/

There is also a basic open source game engine using Ogre, called GameKit, see http://gamekit.googlecode.com

Other open source integrations with Bullet are the Maya Dynamica plugin (http://dynamica.googlecode.com), and Blender and the Blender Game Engine.

The best way to learn about Bullet is to experiment with the demos.
Thanks,
Erwin