|
Dragnar Drake
Registered User
Join date: 6 Feb 2006
Posts: 25
|
10-06-2006 11:06
ok i'm trying to make an air lock like thing, and I need a extending arm, how the issue is that i can't make it move with llSetPos, the arm thing is a cylinder, I have even copied and pasted it into another prim in the object and it moves just fine, so why doesn't it work? is there an issue with a cylinder and llSetPos default { link_message(integer num,integer set, string message, key id) { if (message == "open"  { llSetPos(<0,5,-2>  ; } if (message == "close"  { llSetPos(<0,.5,-2>  ; } } } that's the script that's in it right now
|
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
10-06-2006 11:11
llSetPos can't move the object more than 10 meters at a time.
In a child prim, the vectors are relative to the root prim, so the vector is well within reach of that limit, but it's far less likely that those vectors are close to the position of your root prim in the sim.
Especially considering the negative Z coordinate.
|
|
Dragnar Drake
Registered User
Join date: 6 Feb 2006
Posts: 25
|
10-06-2006 11:13
i feel like an idiot now the script isn't running  i didn't touch it it must of just happend
|
|
Dragnar Drake
Registered User
Join date: 6 Feb 2006
Posts: 25
|
10-06-2006 11:18
aslo I'm doing the move on a child prim, and you can move objects more then 10m in a set, but you can't move the thing sim wise more then 10m at a time
|