|
Vent Sinatra
Registered User
Join date: 4 Jan 2007
Posts: 71
|
10-29-2007 18:20
This must be discussed before, but I could not find it. I'm trying to find out if an object has been scaled, and if so by how much. Information on www.lslwiki.net seems to be wrong, child prims never get the changed/scale event. Only the root prim gets the changed / scaled event. For my application I need to know if the object has been scaled as a whole or if only the root prim changed. Is there a way to find this out ?
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
10-30-2007 02:57
it would seem you can't..... scenario 1: whole object is resized --> reported to root scenario 2: edit linked parts is selected A) root prim is resized --> reported to root B) child prim is resized --> reported to child prim?passed to root? you COULD store and check each prims size via llGetLinkPrimitiveParams then when then changed event fires, compare them... if you only need the root, you could just compare the before/after sizes of a single child, and the before/after sizes of the root
_____________________
| | . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - 
|