aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager
diff options
context:
space:
mode:
authorTeravus Ovares2009-04-20 03:07:53 +0000
committerTeravus Ovares2009-04-20 03:07:53 +0000
commit21d44230305903d4702fb1809a43611d2ef60a2a (patch)
tree6b1bf5c34f6285b2018468daf7570414fba8ba28 /OpenSim/Region/Physics/Manager
parentturn back on fail on error, otherwise we don't end up knowing that we (diff)
downloadopensim-SC_OLD-21d44230305903d4702fb1809a43611d2ef60a2a.zip
opensim-SC_OLD-21d44230305903d4702fb1809a43611d2ef60a2a.tar.gz
opensim-SC_OLD-21d44230305903d4702fb1809a43611d2ef60a2a.tar.bz2
opensim-SC_OLD-21d44230305903d4702fb1809a43611d2ef60a2a.tar.xz
* Allow passing of material type to physics engine
* Define low friction and medium bounce for Glass
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index c4bb889..4a4c294 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -182,6 +182,11 @@ namespace OpenSim.Region.Physics.Manager
182 } 182 }
183 } 183 }
184 184
185 public virtual void SetMaterial (int material)
186 {
187
188 }
189
185 public abstract PhysicsVector Position { get; set; } 190 public abstract PhysicsVector Position { get; set; }
186 public abstract float Mass { get; } 191 public abstract float Mass { get; }
187 public abstract PhysicsVector Force { get; set; } 192 public abstract PhysicsVector Force { get; set; }
@@ -334,6 +339,11 @@ namespace OpenSim.Region.Physics.Manager
334 339
335 } 340 }
336 341
342 public override void SetMaterial(int material)
343 {
344
345 }
346
337 public override PhysicsVector CenterOfMass 347 public override PhysicsVector CenterOfMass
338 { 348 {
339 get { return PhysicsVector.Zero; } 349 get { return PhysicsVector.Zero; }