This updates prebuild to remove BulletSimN, implements the BulletSim API in BulletSPlugin using the BulletXNA Bullet physics engine. It also updates the BulletXNA library to be compatible with the changes. OpenSimDefaults has been updated to describe how to switch engines and terrain implementations.
parent
6a75949323
commit
2c517d792f
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -908,6 +908,19 @@
|
||||||
|
|
||||||
[BulletSim]
|
[BulletSim]
|
||||||
; World parameters
|
; World parameters
|
||||||
|
|
||||||
|
; There are two bullet physics libraries, bulletunmanaged is the default and is a native c++ dll
|
||||||
|
; bulletxna is a managed C# dll. They have comparible functionality.. the c++ is much faster.
|
||||||
|
|
||||||
|
BulletEngine = "bulletunmanaged"
|
||||||
|
; BulletEngine = "bulletxna"
|
||||||
|
|
||||||
|
; Terrain Implementation {1|0} 0 for HeightField, 1 for Mesh terrain. If you're using the bulletxna engine,
|
||||||
|
; you will want to switch to the heightfield option
|
||||||
|
|
||||||
|
TerrainImplementation = 1
|
||||||
|
; TerrainImplementation = 0
|
||||||
|
|
||||||
DefaultFriction = 0.20
|
DefaultFriction = 0.20
|
||||||
DefaultDensity = 10.000006836
|
DefaultDensity = 10.000006836
|
||||||
DefaultRestitution = 0.0
|
DefaultRestitution = 0.0
|
||||||
|
@ -959,6 +972,7 @@
|
||||||
PhysicsLoggingEnabled = False
|
PhysicsLoggingEnabled = False
|
||||||
PhysicsLoggingDir = "."
|
PhysicsLoggingDir = "."
|
||||||
VehicleLoggingEnabled = False
|
VehicleLoggingEnabled = False
|
||||||
|
|
||||||
|
|
||||||
[RemoteAdmin]
|
[RemoteAdmin]
|
||||||
enabled = false
|
enabled = false
|
||||||
|
|
34
prebuild.xml
34
prebuild.xml
|
@ -1759,40 +1759,6 @@
|
||||||
</Files>
|
</Files>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
||||||
<Project frameworkVersion="v3_5" name="OpenSim.Region.Physics.BulletSNPlugin" path="OpenSim/Region/Physics/BulletSNPlugin" type="Library">
|
|
||||||
<Configuration name="Debug">
|
|
||||||
<Options>
|
|
||||||
<OutputPath>../../../../bin/Physics/</OutputPath>
|
|
||||||
</Options>
|
|
||||||
</Configuration>
|
|
||||||
<Configuration name="Release">
|
|
||||||
<Options>
|
|
||||||
<OutputPath>../../../../bin/Physics/</OutputPath>
|
|
||||||
</Options>
|
|
||||||
</Configuration>
|
|
||||||
|
|
||||||
<ReferencePath>../../../../bin/</ReferencePath>
|
|
||||||
<Reference name="System"/>
|
|
||||||
<Reference name="System.Core"/>
|
|
||||||
<Reference name="System.Xml"/>
|
|
||||||
<Reference name="OpenMetaverseTypes" path="../../../../bin/"/>
|
|
||||||
<Reference name="Nini.dll" path="../../../../bin/"/>
|
|
||||||
<Reference name="OpenSim.Framework"/>
|
|
||||||
<Reference name="OpenSim.Region.Framework"/>
|
|
||||||
<Reference name="OpenSim.Region.CoreModules"/>
|
|
||||||
<Reference name="OpenSim.Framework.Console"/>
|
|
||||||
<Reference name="OpenSim.Region.Physics.Manager"/>
|
|
||||||
<Reference name="OpenSim.Region.Physics.ConvexDecompositionDotNet"/>
|
|
||||||
<Reference name="BulletXNA.dll" path="../../../../bin/"/>
|
|
||||||
<Reference name="log4net.dll" path="../../../../bin/"/>
|
|
||||||
|
|
||||||
<Files>
|
|
||||||
<Match pattern="*.cs" recurse="true">
|
|
||||||
<Exclude name="Tests" pattern="Tests"/>
|
|
||||||
</Match>
|
|
||||||
</Files>
|
|
||||||
</Project>
|
|
||||||
|
|
||||||
<!-- OpenSim app -->
|
<!-- OpenSim app -->
|
||||||
<Project frameworkVersion="v3_5" name="OpenSim" path="OpenSim/Region/Application" type="Exe">
|
<Project frameworkVersion="v3_5" name="OpenSim" path="OpenSim/Region/Application" type="Exe">
|
||||||
<Configuration name="Debug">
|
<Configuration name="Debug">
|
||||||
|
|
Loading…
Reference in New Issue