Part two of Darok's Bullet physics plugin: added the actual plugin, although haven't added the project to prebuild.xml yet.

Also might have messed up some of the SVN properties on some of the folders, so if the cleaning lady has to come in again, I just hope she doesn't moan.
This commit is contained in:
MW
2007-07-13 17:52:11 +00:00
parent 6d37fe4947
commit 07b0e2df6f
8 changed files with 602 additions and 2 deletions

View File

@@ -71,6 +71,11 @@ namespace OpenSim
physicsEngine = "RealPhysX";
allowFlying = true;
}
if (args[i] == "-bulletX")
{
physicsEngine = "BulletXEngine";
allowFlying = true;
}
if (args[i] == "-ode")
{
physicsEngine = "OpenDynamicsEngine";

View File

@@ -373,6 +373,11 @@ namespace OpenSim
this.m_physicsEngine = "OpenDynamicsEngine";
ScenePresence.PhysicsEngineFlying = true;
break;
case "BulletXEngine":
this.m_physicsEngine = "BulletXEngine";
ScenePresence.PhysicsEngineFlying = true;
break;
}
configData.Commit();