Search the Community
Showing results for tags 'child prim'.
Okay so, I'm trying to make an Attached Object's Child Prim follow any avatar near me, its just a challenging thing to do and yet interesting. so there is an object you wear it, and its root stays on attached position but its child prim follows nearby avatar Within Link Range. It seems very simple at first but when you do you will see the rotation of your own avatar and then other factors orientations and stuff really messes up, I've tried to make it accurate but it turns out to be doing some weird movements, i think this issue has more to do with Maths and calculations than just scr
If I use : llSetLinkPrimitiveParamsFast(LINK_THIS,[ PRIM_POS_LOCAL,localpos, PRIM_SIZE, <size,.01,size/2> ]); And set localpos to any of the following: localpos.x += 0.5; // x is down localpos.y += 3.5; // forward and up a lot localpos.y += -3.5; // below floor localpos.z += 2.5; // 2.5 to right localpos.z += -2.5; // 2.5 to left The results of axis are not predictable now this is mesh and came in through the mesh importer which currently has no rotation user settings on import page . This seems compounded by the rotation of the prim