aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
diff options
context:
space:
mode:
authorRobert Adams2013-01-07 16:05:02 -0800
committerRobert Adams2013-01-07 16:05:02 -0800
commit8452c0a8702ccf7ea045740dd829c69a6f509845 (patch)
treea2c094fbded7a502dc997d1eb4252659eddbb003 /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
parentBulletSim: fix exception when re-creating the terrain when loading an OAR file (diff)
downloadopensim-SC-8452c0a8702ccf7ea045740dd829c69a6f509845.zip
opensim-SC-8452c0a8702ccf7ea045740dd829c69a6f509845.tar.gz
opensim-SC-8452c0a8702ccf7ea045740dd829c69a6f509845.tar.bz2
opensim-SC-8452c0a8702ccf7ea045740dd829c69a6f509845.tar.xz
BulletSim: add function to push avatar up when hitting stairs.
It looks like BulletSim and ODE rely on penetration correction to cause the avatar to move up and thus allowing walking up stairs. Object penetration was minimized for walking and flying (so one doesn't go through walls) and this stopped stairs from working. This commit introduces avatar movement code to check for collisions at the feet while walking and attempts to raise the avatar for the steps. Not yet perfect but movement is better.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
index 94b63e5..400d5d6 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
@@ -562,7 +562,7 @@ public sealed class BSPrim : BSPhysObject
562 } 562 }
563 return; 563 return;
564 } 564 }
565 public OMV.Vector3 RawVelocity 565 public override OMV.Vector3 RawVelocity
566 { 566 {
567 get { return _velocity; } 567 get { return _velocity; }
568 set { _velocity = value; } 568 set { _velocity = value; }