diff options
author | Robert Adams | 2012-11-20 08:43:43 -0800 |
---|---|---|
committer | Robert Adams | 2012-11-21 16:42:42 -0800 |
commit | 4d29488216f3619455cda72aaf2d6ccf8f3e2402 (patch) | |
tree | 04075c27f863ba58bf5cfd22563c239382b5e86d /OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | |
parent | BulletSim: tweek avatar capsule parameters so avatar feet don't go below grou... (diff) | |
download | opensim-SC_OLD-4d29488216f3619455cda72aaf2d6ccf8f3e2402.zip opensim-SC_OLD-4d29488216f3619455cda72aaf2d6ccf8f3e2402.tar.gz opensim-SC_OLD-4d29488216f3619455cda72aaf2d6ccf8f3e2402.tar.bz2 opensim-SC_OLD-4d29488216f3619455cda72aaf2d6ccf8f3e2402.tar.xz |
BulletSim: change PositionSanityCheck to apply a force to correct position corrections (below ground and floating).
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs index 29a23c0..7ef6429 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapeCollection.cs | |||
@@ -940,7 +940,7 @@ public sealed class BSShapeCollection : IDisposable | |||
940 | else | 940 | else |
941 | { | 941 | { |
942 | bodyPtr = BulletSimAPI.CreateGhostFromShape2(sim.ptr, shape.ptr, | 942 | bodyPtr = BulletSimAPI.CreateGhostFromShape2(sim.ptr, shape.ptr, |
943 | prim.LocalID, prim.ForcePosition, prim.ForceOrientation); | 943 | prim.LocalID, prim.RawPosition, prim.RawOrientation); |
944 | DetailLog("{0},BSShapeCollection.CreateBody,ghost,ptr={1}", prim.LocalID, bodyPtr.ToString("X")); | 944 | DetailLog("{0},BSShapeCollection.CreateBody,ghost,ptr={1}", prim.LocalID, bodyPtr.ToString("X")); |
945 | } | 945 | } |
946 | aBody = new BulletBody(prim.LocalID, bodyPtr); | 946 | aBody = new BulletBody(prim.LocalID, bodyPtr); |