Difference between revisions of "PosJump"
Jump to navigation
Jump to search
Gonta Maltz (talk | contribs) m (exponential notation IS SO SEXY) |
|||
Line 3: | Line 3: | ||
<lsl> | <lsl> | ||
// An alternative to the warpPos trick without all the overhead. | // An alternative to the warpPos trick without all the overhead. | ||
// Trickery discovered by Uchi Desmoulins | // Trickery discovered by Uchi Desmoulins. | ||
posJump(vector destpos) | posJump(vector destpos) | ||
{ | { | ||
llSetPrimitiveParams([PRIM_POSITION, ZERO_VECTOR / 0., PRIM_POSITION, destpos]); | |||
llSetPrimitiveParams([PRIM_POSITION, | |||
} | } | ||
</lsl> | </lsl> |
Revision as of 03:02, 20 September 2008
Here's an interesting method for bypassing the 10m limitation in Non-Physical movement. It has its similarities to warpPos, but with minimal overhead.
<lsl> // An alternative to the warpPos trick without all the overhead. // Trickery discovered by Uchi Desmoulins.
posJump(vector destpos) { llSetPrimitiveParams([PRIM_POSITION, ZERO_VECTOR / 0., PRIM_POSITION, destpos]); } </lsl>