|
Kidd Krasner
Registered User
Join date: 1 Jan 2007
Posts: 1,938
|
04-17-2007 13:50
I've been working on my first serious script, an attachment that will move an avatar. I can get the avatar to move to the desired spot with llMoveToTarget, but then it remains stuck there and can't move away.
I've tried both llStopMoveToTarget and llMoveToTarget with the original target position and a tau of 0, but both of these have the effect of returning the avatar to his original starting point.
Wha am I missing?
Thanks
|
|
RobbyRacoon Olmstead
Red warrior is hungry!
Join date: 20 Sep 2006
Posts: 1,821
|
04-17-2007 14:07
llStopMoveToTarget() is the recommended method, and this has always worked for me.
Make sure that you are not wearing another attachment that provides a "Movelock" function (there are several on the market), as that could easily cause the problem you are seeing.
|
|
Polymorphous Projects
Registered User
Join date: 26 Jul 2006
Posts: 86
|
04-17-2007 14:11
From: RobbyRacoon Olmstead llStopMoveToTarget() is the recommended method, and this has always worked for me.
Make sure that you are not wearing another attachment that provides a "Movelock" function (there are several on the market), as that could easily cause the problem you are seeing. Mmhm! llStopMoveToTarget() should do the trick. If it isn't another script acting on the Av, then you may need to post more code for somebody to spot the problem.
|
|
Kidd Krasner
Registered User
Join date: 1 Jan 2007
Posts: 1,938
|
04-17-2007 14:11
From: RobbyRacoon Olmstead llStopMoveToTarget() is the recommended method, and this has always worked for me.
Make sure that you are not wearing another attachment that provides a "Movelock" function (there are several on the market), as that could easily cause the problem you are seeing. I bet that's it. Thanks.
|