diff options
author | Kitto Flora | 2010-03-11 19:12:38 -0500 |
---|---|---|
committer | Kitto Flora | 2010-03-11 19:12:38 -0500 |
commit | f6f6ef1532517972b973d8a500818dcd50873352 (patch) | |
tree | 3e610efdacb64a63b61d325ee93b9f33ca187ed4 /OpenSim/Region/Framework | |
parent | Fix Physics angular reference frame. (diff) | |
download | opensim-SC-f6f6ef1532517972b973d8a500818dcd50873352.zip opensim-SC-f6f6ef1532517972b973d8a500818dcd50873352.tar.gz opensim-SC-f6f6ef1532517972b973d8a500818dcd50873352.tar.bz2 opensim-SC-f6f6ef1532517972b973d8a500818dcd50873352.tar.xz |
Dynamics Integration Part 1
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 11 |
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 | ||