MantisBT - opensim
View Issue Details
0003259opensim[REGION] Physics Enginespublic2009-03-05 14:502009-04-21 12:44
Magnuz 
 
normalminoralways
closedfixed 
 
 
Grid (Multiple Regions per Sim)
ODE
Mono / Linux32
Other
0003259: Avatar gets stuck on sim border after several consecutive region border crossings
After flying across 3-4 consecutive region borders, the avatar flies out of control to the next region border where it gets stuck and repeatedly slowly sinks under surface, instantaneously popping up again when it gets to ~-10 m, while the console rapidly repeats the same error message:

23:21:35 - [PHYSICS]: Array index is out of range., Single GetTerrainHeightAtXY(Single, Single), System.IndexOutOfRangeException: Array index is out of range. at OpenSim.Region.Physics.OdePlugin.OdeScene.GetTerrainHeightAtXY (Single x, Single y) [0x00000] at OpenSim.Region.Physics.OdePlugin.OdeCharacter.Move (Single timeStep) [0x00000] at OpenSim.Region.Physics.OdePlugin.OdeScene.Simulate (Single timeStep) [0x00000]
 
After logging out and in again everything works as usual until after another 3-4 region border crossings.
10 regions, Ubuntu 32 bit server 8.10, Mono 2.2 (100 threads), MySQL 5.0, all fresh install in VirtualBox 2.1.4 (768 MB memory) on Mac OS X 10.4.11, MacBook 2 GHz Intel Core 2 Duo.
crossing, physics
related to 0003134closed dahlia Patch to add automatic min fly height to ODE 
Issue History
2009-03-05 14:50MagnuzNew Issue
2009-03-05 14:50MagnuzSVN Revision => 8700
2009-03-05 14:50MagnuzRun Mode => Grid (Multiple Regions per Sim)
2009-03-05 14:50MagnuzPhysics Engine => ODE
2009-03-05 14:50MagnuzEnvironment => Mono / Linux32
2009-03-05 14:50MagnuzMono Version => Other
2009-03-05 14:52MagnuzTag Attached: crossing
2009-03-05 14:53MagnuzTag Attached: physics
2009-03-06 22:46TeravusRelationship addedrelated to 0003134
2009-03-06 22:51user903Checkin
2009-03-06 22:51user903Note Added: 0009865
2009-03-06 22:51user903Statusnew => resolved
2009-03-06 22:51user903Resolutionopen => fixed
2009-04-21 12:44cfkStatusresolved => closed

Notes
(0009865)
user903   
2009-03-06 22:51   
teravus committed related code in r8723

* fixes mantis 3259
* I'm concerned however that the 'minimum fly height' should really be implemented in ScenePresence and not in the specific physics plugin so that all of the physics plugins can take advantage of it and if desired, a person could swap out the 'minimum fly height' functionality with other functionality.

see more at - http://opensimulator.org/cgi-bin/viewvc.cgi?view=rev&revision=8723 [^]