Cinder Darkheart Posted October 26, 2019 Share Posted October 26, 2019 (edited) never really tried to do this myself until now. And I'm not sure where to begin. What I'm trying to do is look at prim and get the size on one side from the center out. Basically half of the prim. one side can be 3 meters out from the center and the other side 10 meters out. I'm thinking I might be in the right ball park not sure. Using two prims for this using the script in a child prim the size get the basic size on an area. vector size = llGetScale(); vector pos = llGetLocalPos(); float sizex = (size.x/2) + (pos.x/2); float sizey = (size.x/2) + (pos.y/2); float sizez = (size.x/2) + (pos.z/2); llOwnerSay((string)sizex + " " + (string)sizey + " " + (string)sizez); Edited October 26, 2019 by VirtualLink Link to comment Share on other sites More sharing options...
Mollymews Posted October 27, 2019 Share Posted October 27, 2019 when you say 'prim' do mean a linkset of prims ? or do you mean a single prim that has been sliced, so that one edge is further away from center than the other edge ? 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