aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
diff options
context:
space:
mode:
authorRobert Adams2012-11-01 10:23:37 -0700
committerRobert Adams2012-11-03 21:15:14 -0700
commit39c02dcc8c537d5989238ec97c876e033895a8a9 (patch)
treeb23392da13d4ff36ba3258d0239ea928584a6a99 /OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
parentBulletSim: rename BSBody and BSShape to PhysBody and PhysShape. Add skeleton ... (diff)
downloadopensim-SC_OLD-39c02dcc8c537d5989238ec97c876e033895a8a9.zip
opensim-SC_OLD-39c02dcc8c537d5989238ec97c876e033895a8a9.tar.gz
opensim-SC_OLD-39c02dcc8c537d5989238ec97c876e033895a8a9.tar.bz2
opensim-SC_OLD-39c02dcc8c537d5989238ec97c876e033895a8a9.tar.xz
BulletSim: Remove use of shapeData in ShapeCollection and rely on the available BSPhysObject varaiables. Fix line endings in BSLinksetCompound.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
index 6220b21..7d91468 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
@@ -78,6 +78,10 @@ public abstract class BSPhysObject : PhysicsActor
78 78
79 // The objects base shape information. Null if not a prim type shape. 79 // The objects base shape information. Null if not a prim type shape.
80 public PrimitiveBaseShape BaseShape { get; protected set; } 80 public PrimitiveBaseShape BaseShape { get; protected set; }
81 // Some types of objects have preferred physical representations.
82 // Returns SHAPE_UNKNOWN if there is no preference.
83 public virtual ShapeData.PhysicsShapeType PreferredPhysicalShape
84 { get { return ShapeData.PhysicsShapeType.SHAPE_UNKNOWN; } }
81 85
82 // When the physical properties are updated, an EntityProperty holds the update values. 86 // When the physical properties are updated, an EntityProperty holds the update values.
83 // Keep the current and last EntityProperties to enable computation of differences 87 // Keep the current and last EntityProperties to enable computation of differences