<div dir="ltr">I think negative position for X and Y are valid terms, it's how a prim may be moved beyond a region border. I don't know if it would be a good idea to have a negative Z position value though. I believe SL sets the minimum Z at zero and may disallow the prim to be too far below the ground level - or it did at one time. Negative scale values would not be a good thing from a physics perspective as it may create inverted proxies that wouldn't match the visible prims. I'll look at the scaling code for the proxies and cap the minimum at some small value above zero. It should probably also be capped in llSetScale(), llSetPrimitiveParams(), llSetLinkPrimitiveParams(), and any other places it can be set as it should probably throw an exception or return an error, although LSL doesn't (currently) manage error conditions very well.<div>
<br><br><div class="gmail_quote">On Sat, Oct 4, 2008 at 9:15 AM, Charles Krinke <span dir="ltr"><<a href="mailto:cfk@pacbell.net">cfk@pacbell.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-family:arial,helvetica,sans-serif;font-size:12pt">We have found a few prims that have negative ScaleX, ScaleY, ScaleZ such as -2e+09 and negative GroupPositionX, Y or Z such as -2 on OSGrid and these are griefer prims. I suspect they were created with llSetPrimitiveParam and would like to suggest we put a trap for negative scale or negative position values in our LSL subroutine to preclude setting a scale X,Y,Z or a position X,Y,Z to less then zero.<br>
<br>I wonder if anyone has any angst about that?<br><font color="#888888"><br>Charles<br></font></div></div><br>_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
<br></blockquote></div><br></div></div>