Afdorl Posted January 10, 2021 Share Posted January 10, 2021 (edited) Hi I'm trying to create an option to minimize the hud I would like to move the red button to the center of the blue button and then decrease its size to <0.01, 0.01, 0.01> However, I'm not able to make it exactly in the center of the blue button I would like to know what I can do to achieve this Example 1 is the starting position, example 2 is the position it is getting after executing the script and example 3 is how I would like it to be Image Example default { touch_start (integer num) { vector l = llGetLocalPos (); llOwnerSay((string) llGetLocalPos()); llSetLinkPrimitiveParamsFast(4,[PRIM_POS_LOCAL, l]); } } Edited January 10, 2021 by Afdorl Link to comment Share on other sites More sharing options...
arton Rotaru Posted January 11, 2021 Share Posted January 11, 2021 If the blue button is the root, just call ZERO_VECTOR as the position for the childs. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now