Starr Jetaime
Registered User
Join date: 29 Aug 2006
Posts: 2
|
09-11-2006 15:51
I am having problems trying to figure out how to save the position of an action ball after I edit it. Here's what happens.
I have an action ball that I drop on the floor but when I use it, I am in the floor itself. So I edit and raise the ball up so when I use it I am no longer in the floor. so far so good. When I take the action ball with me (I don't want to leave it because I use it in different places) and then drop it again in another location, the height edit I made is gone and I have to edit it all over again.
Is there a way to edit the action ball to the correct height and then save it so that every time I drop the ball and use it the height is at the edited level?
I hope I made sense, because I really need an answer as this is becoming rather frustrating. Thanks to anyone who can help me with this.
_____________________
Starr Jetaime
|
Ravanne Sullivan
Pole Dancer Extraordinair
Join date: 10 Dec 2005
Posts: 674
|
09-11-2006 16:31
Link it to an other object that is on the floor, like a rug. Position the ball where you want it, rez a rug or some other object on the floor then link the ball to the rug.
|
Chosen Few
Alpha Channel Slave
Join date: 16 Jan 2004
Posts: 7,496
|
09-11-2006 16:38
My first recommendation would be to edit the animations so they put you at the proper postion relative to the ball, but if that's not a practical option, then you can script the ball to move itself up as soon as it rezzes. Here's a simple script, originally posted by Lightwave Valkyrie in another thread on a similar topic. I've edited it slightly to add a comment: // on_res move up
vector up = <0,0,1>; //distance to moveup; use negative for down, Z axis //The above line calls for the object to move +1 meter on the Z axis. If you need it to move a different amount, change the 1 to whatever number you need.
vector pos;
default { on_rez(integer start_param) { pos = llGetPos(); llSetPos(pos + up); } }
_____________________
.
Land now available for rent in Indigo. Low rates. Quiet, low-lag mainland sim with good neighbors. IM me in-world if you're interested.
|