Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004445opensim[REGION] Script Functionspublic2009-12-13 09:232012-08-26 11:29
ReporterKharmen Spad 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004445: llSetPos fails to arrive at correct height in Mega region
DescriptionIn a Mega-region the use of llSetPos within the 10m limit has been found to result in incorrect arrival heights, as if there is a 'false ground level' preventing a lower position. However, setting the position using Edit does not show the same effect. This was tested with the sample test script below in the 4 sub-regions 0,0(SW); 0,1(W); 1,0(S); and 1,1(centre); and only occurs in 0,1. Using the default terrain, values of z below 25.6 resulted in arrival values at exactly this height even though ground level was 25. Editing the terrain does not appear to affect the results.

Test Script:
-----------
//SetPos height test (megaregion)

integer i;vector pos1;vector pos2;float z;

default
{
    state_entry()
    {
        z=25;
        pos1=<128,384,z>;pos2=<128,374,z>;
        llSay(0, "clicking prim should toggle between positions "+(string)pos1+" & "+(string)pos2);
    }
    
    touch_start(integer num)
    {
        i=!i;
        if(i)llSetPos(pos1);
        else llSetPos(pos2);
        llSay(0,(string)llGetPos());
    }
}
Additional InformationProduct Version is listed as 0.6.9(Dev)
Ubuntu 9.04, Mono 2.4.2.3
Sim size: Mega 3x3
Tested at: 2298499.0, 2710400.8, 25.8 in MotionMega0,0
TagsNo tags attached.
Git Revision or version numberdd5696e
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux32
Mono Version
Viewer
Attached Files

- Relationships

-  Notes
(0022454)
SignpostMarv (reporter)
2012-08-26 11:28

Cannot reproduce this bug on OpenSim 0.7.4 Dev a5c6cb2 (Win/.NET)
(0022455)
SignpostMarv (reporter)
2012-08-26 11:29

this was a bug, not a feature.

- Issue History
Date Modified Username Field Change
2009-12-13 09:23 Kharmen Spad New Issue
2009-12-13 09:23 Kharmen Spad Git Revision => dd5696e
2009-12-13 09:23 Kharmen Spad SVN Revision => N/A: osgrid dated 2009-12-07
2009-12-13 09:23 Kharmen Spad Run Mode => Grid (Multiple Regions per Sim)
2009-12-13 09:23 Kharmen Spad Physics Engine => ODE
2009-12-13 09:23 Kharmen Spad Environment => Mono / Linux32
2009-12-13 09:23 Kharmen Spad Mono Version => 2.4.2
2012-08-26 11:28 SignpostMarv Note Added: 0022454
2012-08-26 11:29 SignpostMarv Mono Version 2.4.2 =>
2012-08-26 11:29 SignpostMarv Note Added: 0022455
2012-08-26 11:29 SignpostMarv Severity feature => major


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker