Jump to content

Help to move child prim hud!


You are about to reply to a thread that has been inactive for 100 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 post
Share on other sites
You are about to reply to a thread that has been inactive for 100 days.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...