Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Adjusting prim movement

Csteph Submariner
Registered User
Join date: 24 Apr 2007
Posts: 60
11-17-2007 06:20
I am trying to make a linked set of prims move. I can use llSetPos, but it moves to fast. I would like to use llMoveToTarget for the nice damping effect as it approaches the target, but the link set is more than 31 prims.

So, the question: Is there any way to mimick the llMoveToTarget damping using llSetPos? Or, indeed, any completely different way to achieve the effect I'm after?
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-17-2007 16:48
you could try fractional moves using a combination of llTarget and llSetPos with *at_target events... make sure when you get close enough that you just move to position, to prevent rounding errors. the llLog* functions might be something to look into as well for getting that nice speed falloff
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -