• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-295
Type: New Feature New Feature
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: WarKirby Magojiro
Votes: 6
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

llGetLinkPrimitiveParams

Created: 09/Jun/07 12:58 PM   Updated: 26/Sep/07 04:49 PM
Return to search
Component/s: Scripts
Affects Version/s: 1.16.0
Fix Version/s: None

Issue Links:
Duplicate
 
Relates
 


 Description  « Hide
One of the biggest annoyances builders run into, is the situation where you try to scale an object down, only to find that one or more prims have reached the minimum size, and cannot shrink any farther, thus preventing the whole object from shrinking.

Currently, the only solution is to select each prim individually, and look at it's scale. And adjust it if it's the prim in question.

That's not so easy on, for instance, a 175 prims sword.

Today, I tried to write a script to solve this problem. it would use llGetLinkScale in a loop to check the scale of each prim in the linkset, and change the color to highlight it if it has reached minimum size.

But I hit a little problem .llGetLinkScale doesn't EXIST. Nor does llGetLinkPrimitiveParams. Or ANY method short of dropping a script into every single prim.

So what I ask, is simply a function that will allow us to get the scale of linked prims. Either llGetLinkScale, or llGetLinkPrimitiveParams. Obviously, the latter would be far more complex, but I believe it would be worth it in the long run.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Rob Kubrick added a comment - 06/Aug/07 02:12 PM
175 prim sword - are you trying to reproduce Ivy's (Soul Calbur) sword? sculpties are your friend...

But, there are many instances where we need large prim count objects. And, a way to scale multi-prim objects would be incredibly helpful, especially once you get above 20 prim.

I'm not sure if this is really a scripting issue vs. a graphical client issue. It would likely be more helpful to have a graphical way of sizing objects or perhaps a way to llScaleWholeObject(int x,int y,int z) – because inplace scaling gets tricky . You want everything to not only shrink/grow - but stay in the relatively correct position.


Argent Stonecutter added a comment - 09/Aug/07 01:33 PM
Rob, this isn't a matter of "scaling multi--prim objects", this is a matter of "you can't scale this object, because one of the prims is already minimum size... and you don't know which one".

The missing call really isn't "llGetLinkScale", it's "llGetLinkPrimitiveParams"

That would mean this would be "llGetLinkPrimitiveParams(linknum, [PRIM_SCALE]);"