diff options
author | UbitUmarov | 2012-04-17 15:50:14 +0100 |
---|---|---|
committer | UbitUmarov | 2012-04-17 15:50:14 +0100 |
commit | 9132c9e49963c656e303815e5cb9e0c4341f0821 (patch) | |
tree | 7e79a34ea797353e35878100b5bca4c57f1fd2a2 /OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |
parent | ubitODE: - made avatar/ground collision pid servo a bit softer since seems a ... (diff) | |
download | opensim-SC_OLD-9132c9e49963c656e303815e5cb9e0c4341f0821.zip opensim-SC_OLD-9132c9e49963c656e303815e5cb9e0c4341f0821.tar.gz opensim-SC_OLD-9132c9e49963c656e303815e5cb9e0c4341f0821.tar.bz2 opensim-SC_OLD-9132c9e49963c656e303815e5cb9e0c4341f0821.tar.xz |
ubitODE: - character managed ode was only getting position etc from unmanaged at heartbeat rate like core ode. Now do it at ODE rate in move(..). UpdatePositionAndVelocity() called once per heartbeat is now empty.
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs index 837eae3..9ca2d3f 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |||
@@ -1861,6 +1861,9 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1861 | 1861 | ||
1862 | statstart = Util.EnvironmentTickCount(); | 1862 | statstart = Util.EnvironmentTickCount(); |
1863 | 1863 | ||
1864 | /* | ||
1865 | // now included in characters move() and done at ode rate | ||
1866 | // maybe be needed later if we need to do any extra work at hearbeat rate | ||
1864 | lock (_characters) | 1867 | lock (_characters) |
1865 | { | 1868 | { |
1866 | foreach (OdeCharacter actor in _characters) | 1869 | foreach (OdeCharacter actor in _characters) |
@@ -1874,7 +1877,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1874 | } | 1877 | } |
1875 | } | 1878 | } |
1876 | } | 1879 | } |
1877 | 1880 | */ | |
1878 | lock (_badCharacter) | 1881 | lock (_badCharacter) |
1879 | { | 1882 | { |
1880 | if (_badCharacter.Count > 0) | 1883 | if (_badCharacter.Count > 0) |