Don't click here unless you want to be banned.

LSL Wiki : llGetRegionCorner

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl836.us.archive.org
vector llGetRegionCorner()

Returns the RegionCorner of the simulator containing the task.

Note that the coordinates returned by llGetPos are relative to the simulator region's southwest corner. You can thus add the vectors returned by llGetPos and llGetRegionCorner to get an object's GlobalCoordinates.

You can also divide these coordinates by the size of a sim (256x256m) to get the grid position of the sim on a 2D grid.


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Simulator | RegionCorner
Comments [Hide comments/form]
Attach a comment to this page: