aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-08-04 16:24:19 +0100
committerUbitUmarov2016-08-04 16:24:19 +0100
commit3f2291611fcca7859f774976038e0c15168eda57 (patch)
treeb27e491556ce97e51453187310cbdb240d5ad9c5 /OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
parentupdate libode for mac osX. Thanks Gavin Hird (mantis 7781) (diff)
downloadopensim-SC-3f2291611fcca7859f774976038e0c15168eda57.zip
opensim-SC-3f2291611fcca7859f774976038e0c15168eda57.tar.gz
opensim-SC-3f2291611fcca7859f774976038e0c15168eda57.tar.bz2
opensim-SC-3f2291611fcca7859f774976038e0c15168eda57.tar.xz
apply external forces and torque to vehicles also, as other engines do
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
index aaa2203..ebaa875 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODEPrim.cs
@@ -81,7 +81,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde
81 81
82 private Vector3 _position; 82 private Vector3 _position;
83 private Vector3 _velocity; 83 private Vector3 _velocity;
84 private Vector3 m_torque;
85 private Vector3 m_lastVelocity; 84 private Vector3 m_lastVelocity;
86 private Vector3 m_lastposition; 85 private Vector3 m_lastposition;
87 private Vector3 m_rotationalVelocity; 86 private Vector3 m_rotationalVelocity;
@@ -89,9 +88,10 @@ namespace OpenSim.Region.PhysicsModule.ubOde
89 private Vector3 _acceleration; 88 private Vector3 _acceleration;
90 private IntPtr Amotor; 89 private IntPtr Amotor;
91 90
92 private Vector3 m_force; 91 internal Vector3 m_force;
93 private Vector3 m_forceacc; 92 internal Vector3 m_forceacc;
94 private Vector3 m_angularForceacc; 93 internal Vector3 m_torque;
94 internal Vector3 m_angularForceacc;
95 95
96 private float m_invTimeStep; 96 private float m_invTimeStep;
97 private float m_timeStep; 97 private float m_timeStep;