aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsActor.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-03-21 01:46:41 +0000
committerUbitUmarov2012-03-21 01:46:41 +0000
commit11ed932263161d1dbea99d4a5699ba6d00894053 (patch)
tree85e26ea10f899ff4a52b7a0c9000daa808cf8282 /OpenSim/Region/Physics/Manager/PhysicsActor.cs
parentadd convex state to mesh key, so a change is detected. (diff)
downloadopensim-SC-11ed932263161d1dbea99d4a5699ba6d00894053.zip
opensim-SC-11ed932263161d1dbea99d4a5699ba6d00894053.tar.gz
opensim-SC-11ed932263161d1dbea99d4a5699ba6d00894053.tar.bz2
opensim-SC-11ed932263161d1dbea99d4a5699ba6d00894053.tar.xz
Tell physics about physics shape when creating. Added some virtual methods to get/set density,gravmod, frition,bounce and shape type ( not in use ). UbitOde now should do convex type on creation or everytime the mesh is changed ( as in change size, shape, etc )
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index bd80fff..be67204 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -172,6 +172,8 @@ namespace OpenSim.Region.Physics.Manager
172 172
173 public virtual bool Phantom { get; set; } 173 public virtual bool Phantom { get; set; }
174 174
175 public virtual byte PhysicsShapeType { get; set; }
176
175 public abstract PrimitiveBaseShape Shape { set; } 177 public abstract PrimitiveBaseShape Shape { set; }
176 178
177 uint m_baseLocalID; 179 uint m_baseLocalID;
@@ -252,6 +254,11 @@ namespace OpenSim.Region.Physics.Manager
252 { 254 {
253 } 255 }
254 256
257 public virtual float Density { get; set; }
258 public virtual float GravModifier { get; set; }
259 public virtual float Friction { get; set; }
260 public virtual float Bounce { get; set; }
261
255 /// <summary> 262 /// <summary>
256 /// Position of this actor. 263 /// Position of this actor.
257 /// </summary> 264 /// </summary>