LSL Wiki Mirror 10-5-2006: llGetRegionCorner

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
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.


Functions | Simulator | RegionCorner
There is no comment on this page. [Display comments/form]