diff options
author | UbitUmarov | 2016-08-04 17:17:16 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-04 17:17:16 +0100 |
commit | 2619005f467972c22a0ddcd25344546ec61ce791 (patch) | |
tree | 98df6661716c62004bcc45106f418c40995faa33 /OpenSim/Region | |
parent | apply external forces and torque to vehicles also, as other engines do (diff) | |
download | opensim-SC-2619005f467972c22a0ddcd25344546ec61ce791.zip opensim-SC-2619005f467972c22a0ddcd25344546ec61ce791.tar.gz opensim-SC-2619005f467972c22a0ddcd25344546ec61ce791.tar.bz2 opensim-SC-2619005f467972c22a0ddcd25344546ec61ce791.tar.xz |
also disable vehicle hover if its hover is set to zero
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs index d8a2272..be7cfea 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs | |||
@@ -828,7 +828,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
828 | } | 828 | } |
829 | 829 | ||
830 | // hover | 830 | // hover |
831 | if (m_VhoverTimescale < 300 && rootPrim.prim_geom != IntPtr.Zero) | 831 | if (m_VhoverTimescale < 300 && m_VhoverHeight >0 && rootPrim.prim_geom != IntPtr.Zero) |
832 | { | 832 | { |
833 | // d.Vector3 pos = d.BodyGetPosition(Body); | 833 | // d.Vector3 pos = d.BodyGetPosition(Body); |
834 | d.Vector3 pos = d.GeomGetPosition(rootPrim.prim_geom); | 834 | d.Vector3 pos = d.GeomGetPosition(rootPrim.prim_geom); |