And IF so...how?
New to scripting...but eager to learn.

These forums are CLOSED. Please visit the new forums HERE
Question about moving attachments |
|
|
Lizbeth Marlowe
The ORIGINAL "Demo Girl"
Join date: 7 May 2005
Posts: 544
|
10-26-2005 10:16
I am wondering...can a moving prim be attached to a non-moving prim without the non moving prim joining the moving prim in it's movement? ERK, don't know how else to say it. Hope that make sense...
And IF so...how? New to scripting...but eager to learn. ![]() |
|
Psyra Extraordinaire
Corra Nacunda Chieftain
Join date: 24 Jul 2004
Posts: 1,533
|
10-26-2005 10:20
You mean can a single prim of a multiprim attachment move? Unfortunately, no... only the whole attachment can move.
![]() You can trick some multiple rotating things using moving/rotating textures though. _____________________
E-Mail Psyra at psyralbakor_at_yahoo_dot_com, Visit my Webpage at www.psyra.ca
![]() Visit me in-world at the Avaria sims, in Grendel's Children! ^^ |
|
Lizbeth Marlowe
The ORIGINAL "Demo Girl"
Join date: 7 May 2005
Posts: 544
|
well darn...
10-26-2005 10:44
but....Thanks Psyra!
|
|
Moopf Murray
Moopfmerising
Join date: 7 Jan 2004
Posts: 2,448
|
10-26-2005 10:58
You mean can a single prim of a multiprim attachment move? Unfortunately, no... only the whole attachment can move. ![]() Can't you do that now in 1.7? There's now llSetPos, llSetRot, llTargetOmega and llSetPrimitiveParams support for attachments. I presume llSetPos will work on child prims as well as the parent prim - haven't tested it though, so I could be wrong. http://secondlife.com/badgeo/wakka.php?wakka=revisions _____________________
|
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
10-26-2005 10:59
I have attachments with individual prims rotating. I haven't tested all the functions yet, but as far as I can tell it works pretty much the same way as a non-attached object.
|
|
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
|
10-26-2005 11:34
Hmm, I may be mistaken but I think you can. I attached some items that have child-prims moving/animating to me, the hud, ect, and they still moved...
You could animate them like this ... Or, as Psyra mentioned, if you're just making something(s) rotate, doing an animated texture if you can will be your best bet. _____________________
![]() PICS - BLOG - http://arcticgreenhouse.blogspot.com/ XSTREET - INWORLD -http://slurl.com/secondlife/Alternate Reality/144/138/54/ |
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
10-27-2005 01:39
Yup you can move individual child prim within a link set (attachment or not), using llSetPos and llSetLocalRot.
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
|
Raster Teazle
Registered User
Join date: 13 Sep 2005
Posts: 114
|
10-29-2005 02:53
This is from the 1.7 release notes:
Script Changes ----------------- - Added llSetPayPrice * Users can now set the default pay price and the quick pay button values via the script llSetPayPrice function. - Improved llRequestSimulatorData * Added DATA_SIM_RATING to query the rating (PG or MATURE or UNKNOWN) of a simulator. - Added llGetInventoryType * Gives users the ability to get the type of an inventory item. - Added Full Bright option to llSetPrimitiveParams * Usage: llSetPrimitiveParams([PRIM_FULLBRIGHT, {side}, {enabled}); * Enable full bright for an entire object: llSetPrimitiveParams([PRIM_FULLBRIGHT, ALL_SIDES, TRUE]); * Disable full bright for face 2 of an object: llSetPrimitiveParams([PRIM_FULLBRIGHT, 2, FALSE]); - Added llSetPos, llSetRot, llTargetOmega, llSetPrimParams support for attachments ************* Attachments can now be scripted to rotate and move. ************** - Added llEscapeURL and llUnescapeURL * These functions can be used to handle URLs. Spaces can be escaped to "%20" for example. * Usage: llEscapeURL(string url); llUnescapeURL(string url); - llSetPos() can now move objects up to 768 meters high (instead of just 512) |
|
Zuleica Sartre
Registered User
Join date: 27 Sep 2005
Posts: 105
|
10-29-2005 13:18
You can now with 1.7.
I made earrings with counter-rotating rings. What I did find though is that the rotation of one affects the rotations of others in a way I don't fully understand yet. THough prims that are linked and not rotating aren't affected. |