aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
diff options
context:
space:
mode:
authorRobert Adams2012-12-29 08:03:57 -0800
committerRobert Adams2012-12-29 08:03:57 -0800
commitdb6c0363f05db8b2a180eff04db9138a378d227f (patch)
treef5bb7eb9bb396c3d8c05066aa9da5b7bbf026b1b /OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
parentBulletSim: update values in OpenSimDefaults.ini to reflect the values really ... (diff)
downloadopensim-SC_OLD-db6c0363f05db8b2a180eff04db9138a378d227f.zip
opensim-SC_OLD-db6c0363f05db8b2a180eff04db9138a378d227f.tar.gz
opensim-SC_OLD-db6c0363f05db8b2a180eff04db9138a378d227f.tar.bz2
opensim-SC_OLD-db6c0363f05db8b2a180eff04db9138a378d227f.tar.xz
BulletSim: tweeking avatar capsule code in an attempt to have
asymmetrical avatar capsule work now that rotation is being passed from the simulator. Turns out the Bullet capsule is just not very functional: it doesn't scale properly, the implementation only half does asymmetry and, in general, is hard to work with. Avatar shape is about what it was before these changes. Added initial data structures for avatar shape mesh.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSShapes.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
index 96cd55e..c7885c6 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSShapes.cs
@@ -205,4 +205,17 @@ public class BSShapeCompound : BSShape
205 } 205 }
206 public override void Dereference(BSScene physicsScene) { } 206 public override void Dereference(BSScene physicsScene) { }
207} 207}
208
209public class BSShapeAvatar : BSShape
210{
211 private static string LogHeader = "[BULLETSIM SHAPE AVATAR]";
212 public BSShapeAvatar() : base()
213 {
214 }
215 public static BSShape GetReference(BSPhysObject prim)
216 {
217 return new BSShapeNull();
218 }
219 public override void Dereference(BSScene physicsScene) { }
220}
208} 221}