[SLED] Teleporting using coordinates

Miller, Peter pmiller at liverpool.ac.uk
Sat Dec 6 01:02:30 PST 2008


If there is a pressing case for tp using global coordinates, the following may
be a useful start in terms of the necessary info:
 
http://hublog.hubmed.org/archives/001776.html
 
Best wishes 
 
Peter [SL: Graham Mills]
________________________________

From: educators-bounces at lists.secondlife.com on behalf of Rolig Loon
Sent: Fri 05/12/2008 23:21
To: SL Educators
Subject: Re: [SLED] Teleporting using coordinates

The x,y,z coordinates in a SLURL are special descriptors within a sim.
They are the values you would get in a script that uses a llGetPos()
call. In order to get the global coordinates for that same spot (that
is, the coordinates relative to the enitre SL grid), you need to know
the corner position of the simulator that X,y,x lies in.  You get that
with call to llGetRegionCorner().  The global coordinates are then the
sum of the two vectors llGetRegionCorner() + llGetPos().
_______________________________________________
Educators mailing list
To unsubscribe
https://lists.secondlife.com/cgi-bin/mailman/listinfo/educators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/educators/attachments/20081206/0e86d33b/attachment.htm


More information about the Educators mailing list