Teleporting from 500 meters up
|
|
Melyissa Glitterbuck
Registered User
Join date: 27 Feb 2005
Posts: 65
|
04-14-2006 20:42
I have the basic teleporting script and i'm trying to tp from 500 meters up to the ground. But it keeps tping me half way down then i fall the rest of the way, is there a different scritp i can be using?
_____________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Glitterbugz Boutique Where you can find a full line of; Maternity, Womans, Mens, Formals, Swimsuits, Lingerie, Pj's, Costumes, Birth Announcements, Eyes and Nailpolish and now Shoes! The Glitterbugz Boutique, Shiner (225, 30, 102) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
SteveR Whiplash
teh Monkeh
Join date: 24 Sep 2004
Posts: 173
|
04-14-2006 21:26
"Teleport" scripts can only move you up to 300 meters. You could use multiple teleport scripts with a landing half-way. Or you could use some sort of elevator. I believe Cubey Terra has one that you sit in, and then moves to it's destination.
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-15-2006 12:17
From: SteveR Whiplash "Teleport" scripts can only move you up to 300 meters. You could use multiple teleport scripts with a landing half-way. Or you could use some sort of elevator. I believe Cubey Terra has one that you sit in, and then moves to it's destination. My long distance sit teleport is good to 512 meters, notecard controlled, and with an access list if you want one. It's full perms, open source, you're welcome to pass it on to other people who like it. You can get it 500 meters above the big blue crater on the south side of LostFurest dAlliez, and you can use it to get up there to prove that it works.
|
|
SteveR Whiplash
teh Monkeh
Join date: 24 Sep 2004
Posts: 173
|
04-15-2006 12:47
Cool, I'll check it out Argent.
Is this one of those that changes rotation according to which direction you're going? I seem to recall something about certain directions allowing you to go farther than the 300 you can normally move in any direction. I never did research that though.
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-15-2006 19:50
From: SteveR Whiplash Cool, I'll check it out Argent.
Is this one of those that changes rotation according to which direction you're going? Yep. It's pretty simple in concept though I have had a heck of a time getting the quaternions to behave.  I mostly cheat... I point <1,1,1> at the target then recalculate the offset and rotation based on my local rotation, which pushes the heavy lifting off to Linden Labs. 
|
|
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
|
04-16-2006 00:55
The location to buy the script is very near: LostFurest dAlliez 122, 4, 529.
The teleport to get there is near: LostFurest dAlliez 110, 13, 21.
|
|
Cubey Terra
Aircraft Builder
Join date: 6 Sep 2003
Posts: 1,725
|
04-22-2006 09:22
I have a couple of free teleporters. One is a "sit target" teleporter, which has a range of 300 meters in any direction at any altitude. The other is a "set pos" teleporter, which can teleport you to any spot in the same sim up to an altitude of 768 meters.
They're both in my shop.
_____________________
C U B E Y · T E R R A planes · helicopters · blimps · balloons · skydiving · submarines Available at Abbotts Aerodrome and XstreetSL.com 
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-23-2006 12:45
Cubeys "setpos" teleporter is the one I originally used for my own skybox, but the extended range sit teleport is so much quicker...
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
04-23-2006 18:01
Think this should work, maybe have gotten my rot between paramaters backwards. vector target; default { state_entry() { rotation a = llRotBetween(target, <1.0,1.0,1.0>); float b = llVecMag(target) / 1.7320508075; llSetRot(a); llSitTarget(<b,b,b>, ZERO_ROTATION / a); } changed(integer a) { if(a & CHANGED_LINK) { key b = llAvatartOnSitTarget(); if(b) llUnSit(b); } } }
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-24-2006 08:18
That's similar to where I started. Making the target absolute instead of relative makes it easier to set up, and you can recalculate the sit target in [/b]moving_end()[/b]. You can also rotLookAt the target and do all the rest of the calculations in your local frame of reference instead of actually remembering any trig yourself.  The other elaboration worth doing is to rotate the sitter back into the global frame of reference, so they end up facing in a sensible direction. And I get the parameters for rotations in the wrong order all the time, too. 
|