|
Mustelid Carnot
Made from quality ferrets
Join date: 7 Sep 2005
Posts: 106
|
06-03-2006 07:15
Is there anyway to reliably do this? I am aware of llTargetOmega for continuous rotation, but as that's CLIENT side I'm worried about trigguring an event reliably at the end of the rotation. Any suggestions? I've been bothering and bothering about this for some time and would really like to get this darn object done!
EDIT: This is a childprim which makes it even MORE fun :/
|
|
Rodrick Harrington
Registered User
Join date: 9 Jul 2005
Posts: 150
|
06-03-2006 10:04
make the object physical? then if I understand correctly the smoothing is clientside, but the rotations are updated serverside. what this should mean is you can then do a llGetRot() check for your final rotation. Give it a try?
|
|
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
|
06-03-2006 10:17
It turns out that it is relatively reliable to calculate a rotation time, start a llTargetOmega, wait the precise amount of time needed, stop the llTargetOmega, and call llSetRot() to match the object's rotation with what the llTargetOmega looked like at the end. Somewhere in the Scripting library is a script I wrote to take the math out of that for you... search for "smooth rotation". If you're having trouble making it work for child prims, IM me in-world for a child-prim-friendly version.
|