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.xassetservice
parent
a15b00d3ef
commit
daee2eda93
|
@ -51,6 +51,9 @@ public class BSPlugin : IPhysicsPlugin
|
|||
{
|
||||
if (_mScene == null)
|
||||
{
|
||||
if (Util.IsWindows())
|
||||
Util.LoadArchSpecificWindowsDll("BulletSim.dll");
|
||||
|
||||
_mScene = new BSScene(sceneIdentifier);
|
||||
}
|
||||
return (_mScene);
|
||||
|
|
Loading…
Reference in New Issue