BulletSim: make computation of hole cut in hull tester explicit

math showing the odd PrimitiveBaseShape value rather than a constant.
sedebug
Robert Adams 2015-01-07 06:42:41 -08:00
parent 700543b161
commit 4959dbba5e
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ public class HullCreation : OpenSimTestCase
pbs.ProfileShape = (byte)ProfileShape.Circle; pbs.ProfileShape = (byte)ProfileShape.Circle;
pbs.PathCurve = (byte)Extrusion.Curve1; pbs.PathCurve = (byte)Extrusion.Curve1;
pbs.PathScaleX = 100; // default hollow info as set in the viewer pbs.PathScaleX = 100; // default hollow info as set in the viewer
pbs.PathScaleY = 25; pbs.PathScaleY = (int)(.25f / 0.01f) + 200;
pos = new Vector3(120.0f, 120.0f, 0f); pos = new Vector3(120.0f, 120.0f, 0f);
pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f; pos.Z = PhysicsScene.TerrainManager.GetTerrainHeightAtXYZ(pos) + 10f;
ObjectInitPosition = pos; ObjectInitPosition = pos;