|
Foo Spark
alias Bathsheba Dorn
Join date: 8 Nov 2006
Posts: 110
|
12-28-2006 00:19
So I made this thing that every time I rez it -- whether on land or on an object -- always comes out about 30m up from where I expect. I tried using multiple llSetPos to lower it in the onrez event, but it bumps down only a bit.
I can use the editor to lower it, but it's a pain, and I want to give the thing away as a freebie, and this should be fixed first.
Why is my object too high? How can I make it cut that out?
I thought maybe it was because the thing contains big toruses with pathcuts shortening them to small fractions of their true size. But it's not like I've never done that before....
Thanks!
|
|
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
|
12-28-2006 02:31
ya its cause its a cut tours it thinks its still complete. i used a script like this before: i know you said you tried the on_rez setpos but this does work for me hmmm unless a script cant move an axis belowground? // on_res move down
vector down = <0,0,-0.5>; //distance to movedown use negative for down z axis
vector pos;
default { on_rez(integer start_param) { pos = llGetPos(); llSetPos(pos + down); }
} maybe its the vehicle commands try linking a large invisable block above the thing to move the axis up.... -LW
|