aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2012-06-04 20:35:12 +0100
committerUbitUmarov2012-06-04 20:35:12 +0100
commit401b97788f826397a552b25ab9b30c5549abd54f (patch)
treea5255387b7fa718a5879682b7384083ca92271d9 /OpenSim
parentWhen regions are set to shut down the instance, always send notifications to (diff)
downloadopensim-SC_OLD-401b97788f826397a552b25ab9b30c5549abd54f.zip
opensim-SC_OLD-401b97788f826397a552b25ab9b30c5549abd54f.tar.gz
opensim-SC_OLD-401b97788f826397a552b25ab9b30c5549abd54f.tar.bz2
opensim-SC_OLD-401b97788f826397a552b25ab9b30c5549abd54f.tar.xz
fix addforce/impulse.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
index 9a40ab5..9b3b51b 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
@@ -3252,9 +3252,9 @@ namespace OpenSim.Region.Physics.OdePlugin
3252 } 3252 }
3253 3253
3254 3254
3255 private void changeAddImpulse(Vector3 impulse) 3255 private void changeAddForce(Vector3 theforce)
3256 { 3256 {
3257 m_forceacc += impulse *m_invTimeStep; 3257 m_forceacc += theforce;
3258 if (!m_isSelected) 3258 if (!m_isSelected)
3259 { 3259 {
3260 lock (this) 3260 lock (this)
@@ -3960,7 +3960,7 @@ namespace OpenSim.Region.Physics.OdePlugin
3960 break; 3960 break;
3961 3961
3962 case changes.AddForce: 3962 case changes.AddForce:
3963 changeAddImpulse((Vector3)arg); 3963 changeAddForce((Vector3)arg);
3964 break; 3964 break;
3965 3965
3966 case changes.AddAngForce: 3966 case changes.AddAngForce: