Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llSetLinkScale()

Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-24-2005 14:15
llSetLinkScale(float scale)
Uniformly resizes link set by scale given. For example, a scale of 1.5x will resize the linkset to 1.5x the current size of the set's bounding box.

Someone? Anyone? :D
_____________________
---
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
03-24-2005 19:58
I would much rather they implement llSetLinkPrimitiveParams, so we can do things like what you mention above, *and* stuff like llSetLinkTexture (and a million other things linked prim manipulation would allow).

On a lighter note, I also disagree with the name ;)
It would be much better llScaleLinkSet(float scaleFactor), to avoid confusion between a function designed to scale a single prim in the link set (kinda like llSetLinkColor does for colors) and what you propose.
==Chris
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-24-2005 20:21
Ideally, you would want both.

This is because of the intentional lack of llGetLinkPrimitiveParams, to respect the rights of "No Modify" objects. A uniform resize through llSetLinkPrimitiveParams would be hard to do without data on each primitive. :o
_____________________
---
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
03-24-2005 20:59
CODE

float llSetLinkScale(integer link, float scale)


returned is the scale that was applied, if a scale is to big it is scaled down.
link can be the link number or one of the LINK_* flags.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
03-25-2005 21:54
From: Jeffrey Gomez
Ideally, you would want both.

This is because of the intentional lack of llGetLinkPrimitiveParams, to respect the rights of "No Modify" objects. A uniform resize through llSetLinkPrimitiveParams would be hard to do without data on each primitive. :o


Ah, too true.
I officially endorse with this feature suggestion :)
==Chris
_____________________
October 3rd is the Day Against DRM (Digital Restrictions Management), learn more at http://www.defectivebydesign.org/what_is_drm