diff options
author | Melanie | 2011-12-24 01:41:32 +0100 |
---|---|---|
committer | Melanie | 2011-12-24 01:41:32 +0100 |
commit | f2855d36686a20f2a40f138c9eb7f92d2b56b6c6 (patch) | |
tree | c60bdd23320905dec8b64fc9de49df91b48fe161 | |
parent | Fix camera orientation for sit targets to use the prim actually sat on. (diff) | |
download | opensim-SC-f2855d36686a20f2a40f138c9eb7f92d2b56b6c6.zip opensim-SC-f2855d36686a20f2a40f138c9eb7f92d2b56b6c6.tar.gz opensim-SC-f2855d36686a20f2a40f138c9eb7f92d2b56b6c6.tar.bz2 opensim-SC-f2855d36686a20f2a40f138c9eb7f92d2b56b6c6.tar.xz |
Add setter for Acceleration on physics objects.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/ChOdePlugin/ODECharacter.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/ChOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/ChOdePlugin/ODECharacter.cs index 58e2e4c..2945199 100644 --- a/OpenSim/Region/Physics/ChOdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/ChOdePlugin/ODECharacter.cs | |||
@@ -841,6 +841,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
841 | public override Vector3 Acceleration | 841 | public override Vector3 Acceleration |
842 | { | 842 | { |
843 | get { return _acceleration; } | 843 | get { return _acceleration; } |
844 | set { _acceleration = value; } | ||
844 | } | 845 | } |
845 | 846 | ||
846 | public void SetAcceleration(Vector3 accel) | 847 | public void SetAcceleration(Vector3 accel) |
diff --git a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs index 5f802d0..42e22ff 100644 --- a/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/ChOdePlugin/ODEPrim.cs | |||
@@ -673,6 +673,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
673 | } | 673 | } |
674 | return _acceleration; | 674 | return _acceleration; |
675 | } | 675 | } |
676 | set { _acceleration = value; } | ||
676 | } | 677 | } |
677 | 678 | ||
678 | 679 | ||