diff options
author | Robert Adams | 2014-04-02 21:53:58 -0700 |
---|---|---|
committer | Robert Adams | 2014-04-02 21:53:58 -0700 |
commit | 65c4cb48ac49bd6aa9e813a401411be5226d01a7 (patch) | |
tree | ec930505cba9332628e9ce0d576814ada83ce741 /OpenSim/Region/CoreModules/Framework | |
parent | Fix problem with floating avatar by passing avatar size information (diff) | |
download | opensim-SC-65c4cb48ac49bd6aa9e813a401411be5226d01a7.zip opensim-SC-65c4cb48ac49bd6aa9e813a401411be5226d01a7.tar.gz opensim-SC-65c4cb48ac49bd6aa9e813a401411be5226d01a7.tar.bz2 opensim-SC-65c4cb48ac49bd6aa9e813a401411be5226d01a7.tar.xz |
BulletSim: make avatar physical shape to be a rectangle rather than
a capsule. Set the default to be the rectangle shape and adjust the
parameters in OpenSimDefaults.ini for the new shape.
The rectangle shape will perform better and avatar height can be
computed more accurately.
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 62b5a01..caeb4f8 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -1765,11 +1765,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
1765 | // Next, let's close the child agent connections that are too far away. | 1765 | // Next, let's close the child agent connections that are too far away. |
1766 | uint neighbourx; | 1766 | uint neighbourx; |
1767 | uint neighboury; | 1767 | uint neighboury; |
1768 | 1768 | Util.RegionHandleToRegionLoc(neighbourRegion.RegionHandle, out neighbourx, out neighboury); | |
1769 | Utils.LongToUInts(neighbourRegion.RegionHandle, out neighbourx, out neighboury); | ||
1770 | |||
1771 | neighbourx /= Constants.RegionSize; | ||
1772 | neighboury /= Constants.RegionSize; | ||
1773 | 1769 | ||
1774 | agent.CloseChildAgents(neighbourx, neighboury); | 1770 | agent.CloseChildAgents(neighbourx, neighboury); |
1775 | 1771 | ||