aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorKitto Flora2010-03-11 19:12:38 -0500
committerKitto Flora2010-03-11 19:12:38 -0500
commitf6f6ef1532517972b973d8a500818dcd50873352 (patch)
tree3e610efdacb64a63b61d325ee93b9f33ca187ed4 /OpenSim/Region/Framework/Scenes
parentFix Physics angular reference frame. (diff)
downloadopensim-SC_OLD-f6f6ef1532517972b973d8a500818dcd50873352.zip
opensim-SC_OLD-f6f6ef1532517972b973d8a500818dcd50873352.tar.gz
opensim-SC_OLD-f6f6ef1532517972b973d8a500818dcd50873352.tar.bz2
opensim-SC_OLD-f6f6ef1532517972b973d8a500818dcd50873352.tar.xz
Dynamics Integration Part 1
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 0d19589..1353518 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -747,7 +747,16 @@ namespace OpenSim.Region.Framework.Scenes
747 /// <summary></summary> 747 /// <summary></summary>
748 public Vector3 Acceleration 748 public Vector3 Acceleration
749 { 749 {
750 get { return m_acceleration; } 750 get
751 {
752 PhysicsActor actor = PhysActor;
753 if (actor != null)
754 {
755 m_acceleration = actor.Acceleration;
756 }
757 return m_acceleration;
758 }
759
751 set { m_acceleration = value; } 760 set { m_acceleration = value; }
752 } 761 }
753 762