Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

LLRotLookAt Example Please

Wyatt Weatherwax
Registered User
Join date: 23 Oct 2007
Posts: 59
12-03-2008 16:06
I'll make this a new thread. In my effort to "master" the pendulum issue for SL clocks (not making items for sale), I am looking for a script that allow a horizontal circular rotation that makes 2 to 3 revolutions, slowing on the last one and then reversing direction and showing the same efects. This action will be repeated in a looped fashion.
If anyone has seen an Anniversary Clock that is the effect I am trying for (BTW my SL wedding anniversary is in Feb., so I am trying to make this gift.

I am using a swing script at the moment but it is jerky and shows no slowing before changing direction. LLRotLookAt has been mentions as a solution but there is no example in the LSLWiki for me to try. I'm not sure how to use this . If someone could post an example of how to use this, that would be great. If somone has a script that does the above, even better. Contributors can get a free clock when it is done if they want.

Thanks in advance.
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
12-03-2008 16:37
As it happens, I was wrestling with this same problem earlier today (trying to understand llRotLookAt(), not making a clock) and found a very helpful example by Tyken Hightower in this thread: /54/ea/285164/1.html