Jump to content

weird issue with break links ..


Xiija
 Share

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

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

Recommended Posts

so for fun i'm coding a pizza delivery drone.

I use the break links function, but it seems to bork the object ?

i thouhgt it was my viewer, but all other prims i rez don't do it.

the object drops, then disappears ... ( i've tried setting alpha, color, etc to get it to re-rez)

b0fd19b7c4cda003a872e6984d193909.gif

it seems like a viewer issue because ...

a163c74c8eb48cce9b9b46d93bfad493.gif

 

I can only get it to be editable by clicking another prim in world?

b39c8f641af56bbd0c9de52ddcc6e487.gif

the code in the pizza box is ...

default
{
    state_entry()
    {
    }
    changed(integer change)
    {   if (change & CHANGED_LINK && llGetLinkNumber() == 0 ) 
        {   llSetPhysicsMaterial(GRAVITY_MULTIPLIER | RESTITUTION | FRICTION | DENSITY, 0.05, 0.9, 0.1, 1.0);
            llSetStatus( STATUS_PHYSICS, TRUE);
        }
        if (change & CHANGED_LINK && llGetLinkNumber() > 0 ) 
        {  llSetStatus( STATUS_PHYSICS, FALSE);
        }
    }
    land_collision_start( vector pos )
    { 
       vector myPosition = llGetPos();
       myPosition.z = myPosition.z + 0.75;
       llSetPos(  myPosition );
       llSetStatus( STATUS_PHYSICS, FALSE);
       llSetAlpha(0.9, ALL_SIDES);
       llSetAlpha(1.0, ALL_SIDES);
       llSetLinkColor(LINK_THIS, <1.0, 1.0, 1.0>, ALL_SIDES);
       
    }
}

Any ideas?

anyone seen this behavior before?

Thanx for any ...

X.

Edited by Xiija
  • Like 1
Link to comment
Share on other sites

It appears, that your object is physical and after falling it is somehow ending up "partially under" the ground.

There are scripting solutions..but perhaps the issue only happens at some locations.

Things ending up "under" the ground shouldn't happen in my opinion.

Edited by Love Zhaoying
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 574 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...