aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
diff options
context:
space:
mode:
authorRobert Adams2012-11-21 16:31:23 -0800
committerRobert Adams2012-11-21 16:43:53 -0800
commitcbc7e7bf85bfd9e916146b0ae4a605996c24720b (patch)
tree9873174e8174ce230b2b0e8d30c490d0b79db745 /OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
parentBulletSim: Properly position mesh terrain on creation (fixes terrain not appe... (diff)
downloadopensim-SC_OLD-cbc7e7bf85bfd9e916146b0ae4a605996c24720b.zip
opensim-SC_OLD-cbc7e7bf85bfd9e916146b0ae4a605996c24720b.tar.gz
opensim-SC_OLD-cbc7e7bf85bfd9e916146b0ae4a605996c24720b.tar.bz2
opensim-SC_OLD-cbc7e7bf85bfd9e916146b0ae4a605996c24720b.tar.xz
BulletSim: Make avatar capsule so it is not circular.
Simple attempt to make avatars better shaped. Replace parameter 'avatarCapsuleRadius' with 'avatarCapsuleWidth' and 'avatarCapsuleDepth'. More tweeking to avatar height calculation. A little better but short avatar's feet are above the terrain and tall avatar's feet are a little below the ground.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
index e218053..4647c2d 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BulletSimAPI.cs
@@ -291,7 +291,8 @@ public struct ConfigurationParameters
291 public float avatarStandingFriction; 291 public float avatarStandingFriction;
292 public float avatarDensity; 292 public float avatarDensity;
293 public float avatarRestitution; 293 public float avatarRestitution;
294 public float avatarCapsuleRadius; 294 public float avatarCapsuleWidth;
295 public float avatarCapsuleDepth;
295 public float avatarCapsuleHeight; 296 public float avatarCapsuleHeight;
296 public float avatarContactProcessingThreshold; 297 public float avatarContactProcessingThreshold;
297 298