aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorRobert Adams2015-01-07 06:42:41 -0800
committerRobert Adams2015-01-07 06:42:41 -0800
commit4959dbba5e4931e91857b5a9bdce45b5668ac4cb (patch)
tree314f8841704ebf30e21e33a5c11fa76bd856b178 /OpenSim/Region/Physics
parentBulletSim: tweek step parameters and logic to make walking up steps (diff)
downloadopensim-SC-4959dbba5e4931e91857b5a9bdce45b5668ac4cb.zip
opensim-SC-4959dbba5e4931e91857b5a9bdce45b5668ac4cb.tar.gz
opensim-SC-4959dbba5e4931e91857b5a9bdce45b5668ac4cb.tar.bz2
opensim-SC-4959dbba5e4931e91857b5a9bdce45b5668ac4cb.tar.xz
BulletSim: make computation of hole cut in hull tester explicit
math showing the odd PrimitiveBaseShape value rather than a constant.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs b/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs
index ed7ff9b..3651351 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/Tests/HullCreation.cs
@@ -136,7 +136,7 @@ public class HullCreation : OpenSimTestCase
136 pbs.ProfileShape = (byte)ProfileShape.Circle; 136 pbs.ProfileShape = (byte)ProfileShape.Circle;
137 pbs.PathCurve = (byte)Extrusion.Curve1; 137 pbs.PathCurve = (byte)Extrusion.Curve1;
138 pbs.PathScaleX = 100; // default hollow info as set in the viewer 138 pbs.PathScaleX = 100; // default hollow info as set in the viewer
139 pbs.PathScaleY = 25; 139 pbs.PathScaleY = (int)(.25f / 0.01f) + 200;
140 pos = new Vector3(120.0f, 120.0f, 0f); 140 pos = new Vector3(120.0f, 120.0f, 0f);
141 pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f; 141 pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f;
142 ObjectInitPosition = pos; 142 ObjectInitPosition = pos;