Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Prim Linking Question

Webster Morris
Registered User
Join date: 14 Jan 2006
Posts: 23
04-11-2006 03:27
Can someone please give me a simple explanation of what a 'ROOT' prim is?

Is it the first or last prim linked in a set? What is its true relationship to the other prims it is linked to?

Thanks in advance for you help.
Vitigis Drake
Registered User
Join date: 5 Feb 2006
Posts: 3
Simple PRIMal answer
04-11-2006 03:45
When selecting a group of prims it is the last prim selected. If unsure Shift click on the prim you want as the root and once again to highlight it. That way you know and can decide which prim is root.

The root prim is the main prim of the group. If it is rotated its child prims get moved along with it. Same for XYZ movement. Scripts that manipulate the child prims do so based on the root prim's values for XYZ and Rotation. Of course you can still edit the individual child prims by checking the option on the Edit window.

I believe the physical attribute of the root prim is also shared (forced) with the child prims. Bouncing rubber, clang metal, etc... For example if you link in a phantom prim as a child it won't be phantom anymore... Instead it becomes solid like the root prim.
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
04-11-2006 06:43
The root prim is also where you put any control scripts in a scripted object. Any clicks on any prim in a linked set are passed back to the root prim to be acted on.
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
Rini Rampal
Rabid Consumer
Join date: 10 Sep 2004
Posts: 72
04-12-2006 06:33
Also, the name of the "object" will be the name of the root prim, and if you click on the Contents tab (without Edit Linked Parts selected, that is), you will be seeing the contents of the root prim.

The root prim is the one that glows yellow in a linkset, when all of the others glow blue.
_____________________
Chigger Macdonald
Second Life Resident
Join date: 19 Oct 2004
Posts: 22
04-12-2006 16:03
From: Ceera Murakami
The root prim is also where you put any control scripts in a scripted object. Any clicks on any prim in a linked set are passed back to the root prim to be acted on.

Ahhh, thats a help =) Funny how this lil info you pick up can drop the frustration level enormously, lol.
Eep Quirk
Absolutely Relative
Join date: 15 Dec 2004
Posts: 1,211
04-12-2006 16:10
http://secondlife.com/badgeo/wakka.php?wakka=root
Jigsaw Partridge
A man of parts
Join date: 3 Apr 2005
Posts: 69
04-12-2006 22:40
From: Ceera Murakami
The root prim is also where you put any control scripts in a scripted object. Any clicks on any prim in a linked set are passed back to the root prim to be acted on.


Not strictly true - any prim in a linked set can contain scripts, and these scripts may (if they wish) detect touches on their own prim, which will not then be seen by scripts in the root prim. Touches will only be passed on to the root prim if (a) there is no script which handles them in the child prim, or (b) the script uses llPassTouches() to tell the system to pass them to root as well as handling them locally in a child prim script.