mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Load 32-bit or 64-bit BulletSim Windows library automatically as appropriate.
This uses the same approach as ODE. radams, if this doesn't work for you please feel free to revert.
This commit is contained in:
@@ -51,6 +51,9 @@ public class BSPlugin : IPhysicsPlugin
|
||||
{
|
||||
if (_mScene == null)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("BulletSim.dll");
|
||||
|
||||
_mScene = new BSScene(sceneIdentifier);
|
||||
}
|
||||
return (_mScene);
|
||||
|
||||
Reference in New Issue
Block a user