Difference between revisions of "PosJump"
Jump to navigation
Jump to search
Gonta Maltz (talk | contribs) m (exponential notation IS SO SEXY) |
|||
Line 7: | Line 7: | ||
posJump(vector destpos) | posJump(vector destpos) | ||
{ | { | ||
vector | vector infinity = <1.84e+19, 1.84e+19, 1.84e+19>; | ||
llSetPrimitiveParams([PRIM_POSITION, | llSetPrimitiveParams([PRIM_POSITION, infinity, PRIM_POSITION, destpos]); | ||
} | } | ||
</lsl> | </lsl> |
Revision as of 19:11, 19 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 and Gonta Maltz.
posJump(vector destpos) { vector infinity = <1.84e+19, 1.84e+19, 1.84e+19>; llSetPrimitiveParams([PRIM_POSITION, infinity, PRIM_POSITION, destpos]); } </lsl>