Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looping a rotation

Duncan Giano
Registered User
Join date: 18 Jan 2010
Posts: 3
01-18-2010 05:28
I'm using qavimator and I am unable to do multiple rotation of the avatar. It's very simple, I want to rotate the hip 3-4 times on Y axis, but qavimator allows only rotation to 359, I don't know how to continue the rotation in the same direction further. Help?
Nexii Malthus
[Cubitar]Mothership
Join date: 24 Apr 2006
Posts: 400
01-18-2010 06:40
Just turn it back around from -359 and go from there.

360 is exactly the same as 0 or -360. so you could even start from 0 and go up again.

The degrees go around in a circle, from 0 to 359. 360 is effectively the same as 0.



So if you want to turn a few times, you would go..

0, 45, 90, 135, 180, 215, 270, 315, 359, 45, 90, 135.....

Just watch out to put two keyframes together tight, to make the jump from 359 back to 0. Otherwise qavimator will interpolate the frames wrong.
_____________________

Geometric Library, for all your 3D maths needs.
https://wiki.secondlife.com/wiki/Geometric

Creator of the Vertical Life Client
Duncan Giano
Registered User
Join date: 18 Jan 2010
Posts: 3
Again, the problem persists.
01-18-2010 07:18
I tried what you said, it works well till 359 when it rotates clockwise......but then when I move to 45, the av rotates back to 0 clockwise. The only way out for me is to place a keyframe of 0 right next to the 359 and then proceed to 45, which makes the rotation choppy. Is there a work around or am I doing it all wrong?
Ravanne Sullivan
Pole Dancer Extraordinair
Join date: 10 Dec 2005
Posts: 674
01-18-2010 09:08
go to 359, make sure it is a keyframe and on the next frame set it to 0 and make sure that is a keyframe. Continue your rotation back to 359 and do it again as needed. This works with Poser, not sure about with qanimator but it should work.
_____________________
Ravanne's Dance Poles and Animations

Available at my Superstore and Showroom on Insula de Somni
http://slurl.com/secondlife/Insula de Somni/94/194/27/
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
01-18-2010 09:23
if you're seeing choppiness it's probably because your other frames change at a different rate than 1deg per frame... check that rate, then make sure the difference between your overlap frames (the ones around 359-0) are keeping that effective rate.

ex...
if it takes you 45 frames to rotate 360 degrees, then 360 / 45 = 8, so the next frame after (that you will key) needs to be 8 degrees for a smooth rate of rotation.
_____________________
|
| . "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...
| -
Rogan Diesel
Registered User
Join date: 16 Nov 2008
Posts: 6
thank you
01-18-2010 09:46
let me try that, thank you
Duncan Giano
Registered User
Join date: 18 Jan 2010
Posts: 3
01-18-2010 10:02
I tried doing that, still choppy. Let me try it in poser.
jeaniesing Trilling
Loves to animate & script
Join date: 21 Oct 2006
Posts: 61
01-21-2010 15:52
make certain you have the ease in and ease out UNCHECKED on the hip, it slows it to that keyframe then comes slowly out of it



if frame 1 is 0..... frame 15 is 180.... frame 16 is --180.... frame 30 is 0.... (just an example) it is a pretty good spin on at 30fps

the human eye can see 10-15fps, 30fps or higher should disguise the slight pause
_____________________
Pinastri/113/171/30