Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007860opensim[REGION] Script Functionspublic2016-03-24 15:522016-07-31 11:30
ReporterKayaker Magic 
Assigned To 
PlatformLinux/MonoOperating SystemOpenSim Dev OSgrid & ubODEOperating System Version0.9.0.0
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0007860: llEdgeOfWorld does not work in var regions
DescriptionI am running under the ubODE physics engine.
No matter where I am in a var region, no matter what direction I point in, no matter if there are neighboring regions, llEdgeOfWorld always returns TRUE. I did this test in two adjacent var regions. The two vars are running on the same instance of OpenSim. llEdgeOfWorld should have returned 0 for one of the cardinal directions but does not. The last result is for the direction the prim is facing (+X) and that never returns 0 either, even when pointing across a border into a visible var.
Steps To ReproduceBut the following script in a prim. Put the prim in a var that has another var next door. Click on the prim. Rotate to different directions and click again.
Additional Informationdefault
        llSay(0, "Script running");
    touch_start(integer num)
        vector dir;
        dir = <0,1,0>; //north
        llOwnerSay((string)dir+"N "+(string)llEdgeOfWorld(llGetPos(),dir));
        dir = <1,0,0>; //east
        llOwnerSay((string)dir+"E "+(string)llEdgeOfWorld(llGetPos(),dir));
        dir = <0,-1,0>; //south
        llOwnerSay((string)dir+"S "+(string)llEdgeOfWorld(llGetPos(),dir));
        dir = <-1,0,0>; //west
        llOwnerSay((string)dir+"W "+(string)llEdgeOfWorld(llGetPos(),dir));
        dir = <1,0,0>*llGetRot(); //check in the +X direction of the prim
        llOwnerSay((string)dir+"X "+(string)llEdgeOfWorld(llGetPos(),dir));
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineOther
Script Engine
Mono VersionNone
Attached Files

- Relationships

-  Notes
Kayaker Magic (reporter)
2016-07-31 11:15

I just tested this on the latest version of the OSGrid distribution and llEdgeOfWorld is working correctly in a 3x3 var! I think this is fixed! Thanks! It may have been fixed along with mantis 7861.

P.S. I am testing with OSGrid distribution that came from a zip file [^]
It still calls itself OpenSim Dev but has several bug fixes from the last version that also called itself
UbitUmarov (administrator)
2016-07-31 11:30

meanwhile I changed all that again in 2016-07-29, so needs testing again :(
- a direction of 0,0... will now return true (was returning false)
- changed all the math. cases like direction other N,S,E,W need also testing
it may find regions in a few cases SL does not

- Issue History
Date Modified Username Field Change
2016-03-24 15:52 Kayaker Magic New Issue
2016-07-31 11:15 Kayaker Magic Note Added: 0030964
2016-07-31 11:30 UbitUmarov Note Added: 0030965

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker