[Opensim-dev] BulletSim in master

Adams, Robert robert.adams at intel.com
Tue Aug 30 23:16:02 UTC 2011


To accompany the other attempts at porting the Bullet physics engine into OpenSimulator, BulletSim has been merged into the master OpenSimulator branch.

It is nowhere near ready to replace ODE but it has basic physical object functionality, good performance and no crashes. Some of the current features:
                The latest version of Bullet (2.78)
                Use of Bullet native shapes for cubes and spheres (with any scaling)
                Triangle meshes for static objects and automatically generated convex hulls for physical objects
Collision events for objects and terrain
                Initial code for linksets (but debugging is needed)
                Initial code for vehicles (but vehicles don't work yet)
                Gettable and settable parameters ('physics' console command)
Efficient interface between the C# and C++ code

BulletSim is enabled by setting "physics = BulletSim" in OpenSim.ini. There are dll's for 32 and 64 bit Windows and so's for 32 and 64 bit Linux. (For 64 bit Windows, you need to copy "BulletSim-x86_64.dll" onto "BulletSim.dll").

BulletSim consists of two parts: the C# module (which interfaces between OpenSimulator and the C++ code) and C++ code (which makes the calls to a statically linked Bullet physics engine). The C++ code is in the 'opensim-libs' repository ("http://opensimulator.org/svn/opensim-libs/trunk/unmanaged/BulletSim/") and the C# code is now in the OpenSimulator git 'master' branch (OpenSim/Region/Physics/BulletSPlugin/).

There is a lot of tuning and adaptation that needs to happen yet and anyone who wants to help feel free to jump in. I (radams1) am often on the IRC channels so let's talk.

-- ra


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20110830/49f9c9e3/attachment-0001.html>


More information about the Opensim-dev mailing list