Jump to content

Help to move child prim hud!


Afdorl
 Share

You are about to reply to a thread that has been inactive for 1173 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

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 by Afdorl
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1173 days.

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
 Share

×
×
  • Create New...