Difference between revisions of "Talk:Prim and Object Hierarchy"

From Second Life Wiki
Jump to navigation Jump to search
Line 10: Line 10:
llSetPos2() == the same that llSetPos() but with second parent if the prim is a child prim.
llSetPos2() == the same that llSetPos() but with second parent if the prim is a child prim.


Then we can move all child prims with their "second parent" or with the real root prim.
Then we can move all child prims with their "second parent" or with the real root prim. When a child prim move, all child prims that have this one as second parent move too, like child prims move with root prim actually.


Rohacan Hirons.
Rohacan Hirons.
(Sorry for my poor english, I hope you'll understand me XD)
(Sorry for my poor english, I hope you'll understand me XD)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------

Revision as of 02:12, 14 April 2008

I agree, 100%. I've noticed that many SL 3D concepts come directly from basic 3D graphics libraries such as OpenGL. Wouldn't this correspond to a kind of scenegraph?


Hi, I think we just need one new value and two new functions.

A "second parent" or "minor parent" or "???" for every child prims, that is UUID of and other child prim (or by default the real parent prim)

And two functions : llSetLocalRot2() == the same that llSetLocalRot() but with second parent. llSetPos2() == the same that llSetPos() but with second parent if the prim is a child prim.

Then we can move all child prims with their "second parent" or with the real root prim. When a child prim move, all child prims that have this one as second parent move too, like child prims move with root prim actually.

Rohacan Hirons. (Sorry for my poor english, I hope you'll understand me XD)