Monday, February 15, 2010

Bullet Physics



The embedded video shows the Bullet physics library being used in a Syntensity world. 100 boxes are simulated, as well as the static world geometry. As you can see, the boxes behave in a physically realistic way.

This is just an early demo - it would take more work to get this ready for actual games. But the hard integration part is now finished.

If you're curious to run this yourself, then instructions are at the end of the COMPILE.txt file.

3 comments:

  1. It's great to see new things getting integrated into the innovative Sauerbraten platform. Hopefully you'll figure out soon enough how to stop the new physics making the player ice skate.

    ReplyDelete
  2. Charlie: According to kripken on IRC, the player was just a quick hacked on ball for testing purposes. He's working on actual player physics. ^_^

    ReplyDelete
  3. I would love to see this upstreamed to sauerbraten, but I doubt that the sauer-devs are likely to accept the patches. Having a superficial look at the source, it seems to me that there is a lot of data-conversion to transform sauers octree-data to bullets mesh-data, what undergoes the whole idea of sauerbraten to be as memory-efficient as possilble. So the solution to me it seems is to heavily modify the bullet-engine to cope with octree-data... would love to hear about your opinions on this.

    Regards
    Bernd

    ReplyDelete