Ayly Mirabeau
Scripter/designer
Join date: 17 Jul 2005
Posts: 5
|
08-22-2005 09:25
Just as the title says... I'm trying to make a functional sliding door (non-physical) that's linked to the surrounding building, and making it move when someone steps on a plate in front of it. However, the door stays firmly fixed in it's position and will not move under any circumstances unless I unlink it.. Any ideas, thoughts, script examples on how I can circumvent this?
Thanks,
Ayly
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
08-22-2005 10:01
llSetLocalPos() ?
Don't have a script to hand, but try that rather than llSetPos();
|
Ayly Mirabeau
Scripter/designer
Join date: 17 Jul 2005
Posts: 5
|
08-22-2005 10:20
That was it, thank you 
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
08-22-2005 11:37
Pardon... I've never seen the library call "llSetLocalPos()" before. It's not in the Wiki, and not in the drop-down list of the in-world editor. It won't compile - name not defined in scope. How did that fix anything?
|
Ayly Mirabeau
Scripter/designer
Join date: 17 Jul 2005
Posts: 5
|
08-22-2005 14:40
I think she meant llGetLocalPos().. at least that's what I used instead of llGetPos() and it solved the problem for me.
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
08-22-2005 15:54
Yes my fingers slipped, and my brain. llGetLocalPos() helps with the movement from the right place, llSetPos() in a child directly sets local movement of course.
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
08-22-2005 16:24
Ahhh. Kk. I get it 
|