aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-12-17 22:34:21 +0000
committerUbitUmarov2015-12-17 22:34:21 +0000
commitb2acef8aad43307d92f2252a9d21e9b3b05dc0d7 (patch)
tree104842f43cb9483dbbb65181c86b7176c26e553e /OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs
parentfix silly bug: Dynamics are to apply to root prim not child (diff)
downloadopensim-SC_OLD-b2acef8aad43307d92f2252a9d21e9b3b05dc0d7.zip
opensim-SC_OLD-b2acef8aad43307d92f2252a9d21e9b3b05dc0d7.tar.gz
opensim-SC_OLD-b2acef8aad43307d92f2252a9d21e9b3b05dc0d7.tar.bz2
opensim-SC_OLD-b2acef8aad43307d92f2252a9d21e9b3b05dc0d7.tar.xz
remove the unused OBB physics parameters export, since they aren't actually usefull outside ubOde
Diffstat (limited to 'OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs')
-rw-r--r--OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs29
1 files changed, 0 insertions, 29 deletions
diff --git a/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs b/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs
index ebd2185..393afae 100644
--- a/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs
+++ b/OpenSim/Region/PhysicsModules/SharedBase/PhysicsActor.cs
@@ -351,35 +351,6 @@ namespace OpenSim.Region.PhysicsModules.SharedBase
351 public abstract Vector3 GeometricCenter { get; } 351 public abstract Vector3 GeometricCenter { get; }
352 public abstract Vector3 CenterOfMass { get; } 352 public abstract Vector3 CenterOfMass { get; }
353 353
354 public virtual Vector3 OOBsize
355 {
356 get
357 {
358 Vector3 s=Size;
359 s.X *=0.5f;
360 s.Y *=0.5f;
361 s.Z *=0.5f;
362 return s;
363 }
364 }
365
366 public virtual Vector3 OOBoffset
367 {
368 get
369 {
370 return Vector3.Zero;
371 }
372 }
373
374 public virtual float OOBRadiusSQ
375 {
376 get
377 {
378 return Size.LengthSquared() * 0.25f; // ((0.5^2)
379 }
380 }
381
382
383 public virtual float PhysicsCost 354 public virtual float PhysicsCost
384 { 355 {
385 get 356 get