aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
diff options
context:
space:
mode:
authorRobert Adams2013-01-17 14:47:35 -0800
committerRobert Adams2013-01-17 14:47:35 -0800
commit75f710f1e70a3c9d3459d549eb4334a445aca834 (patch)
treec41b93551f101cfd10ea39567f10b759bbf3f355 /OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
parentAdd utility function to clamp a vector to a maximum magnitude. (diff)
downloadopensim-SC_OLD-75f710f1e70a3c9d3459d549eb4334a445aca834.zip
opensim-SC_OLD-75f710f1e70a3c9d3459d549eb4334a445aca834.tar.gz
opensim-SC_OLD-75f710f1e70a3c9d3459d549eb4334a445aca834.tar.bz2
opensim-SC_OLD-75f710f1e70a3c9d3459d549eb4334a445aca834.tar.xz
BulletSim: Add one function that all actors who act on the physical
can use to know if the object is currently active. Code cleaning including use of Util.ClampV function.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
index 87a06c1..6d5e23f 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
@@ -652,6 +652,9 @@ public sealed class BSCharacter : BSPhysObject
652 public override bool IsStatic { 652 public override bool IsStatic {
653 get { return false; } 653 get { return false; }
654 } 654 }
655 public override bool IsPhysicallyActive {
656 get { return true; }
657 }
655 public override bool Flying { 658 public override bool Flying {
656 get { return _flying; } 659 get { return _flying; }
657 set { 660 set {