BulletSim: add OutOfBounds logic and some position sanity checking

to eliminate some of the "cannot find terrain height" warning messages.
This commit is contained in:
Robert Adams
2013-02-21 08:52:11 -08:00
parent 681653ca13
commit efb5da0aa6
5 changed files with 68 additions and 33 deletions

View File

@@ -568,7 +568,7 @@ public sealed class BSShapeCollection : IDisposable
{
newShape = PhysicsScene.PE.BuildCapsuleShape(PhysicsScene.World, 1f, 1f, prim.Scale);
if (DDetail) DetailLog("{0},BSShapeCollection.BuiletPhysicalNativeShape,capsule,scale={1}", prim.LocalID, prim.Scale);
if (DDetail) DetailLog("{0},BSShapeCollection.BuildPhysicalNativeShape,capsule,scale={1}", prim.LocalID, prim.Scale);
}
else
{