Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Agent flight/tilt

Croniq Novi
Registered User
Join date: 16 Jan 2007
Posts: 5
10-05-2007 07:04
Hiya

I'm trying to work out what is causing the agent to tilt forwards when moving in flight - and how to disable it.

Any ideas?


Thanks :]
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
10-05-2007 07:32
I would expect it is simply an animation. Use llGetAnimationList and check for fly or flyslow.
Then you can just stop the animation with llStopAnimation.

See
http://wiki.secondlife.com/wiki/LlGetAnimationList
http://wiki.secondlife.com/wiki/Internal_Animations
http://wiki.secondlife.com/wiki/LlStopAnimation
_____________________
www.nandnerd.info
http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum
Croniq Novi
Registered User
Join date: 16 Jan 2007
Posts: 5
10-05-2007 09:41
thank you nand

expected as much, that it was animation related - but had not thought of trying to stop it like that.

I've tried now, but it seems that the flying animations have higher priorities than anything else??

So what happens when you do it is, that it'll work for a few seconds, but the flying animation quickly jumps in and overrides the custom.

I've tried triggering it on a fast timer - but to no avail.

Not possible maybe?
Shadow Subagja
Registered User
Join date: 29 Apr 2007
Posts: 354
10-05-2007 09:52
Only thing you can do is find a higher priority anim.. thats what all AO's do. Of course finding what priority an animation is seems nearly impossible so I _think_ you have to try every animation in existence by hand, scratch them down in a notebook, and repeat any time you do anything with animations.

Correct me if I'm wrong.
Croniq Novi
Registered User
Join date: 16 Jan 2007
Posts: 5
10-05-2007 12:36
Thanks for your input Shadow

I'm not sure I completely understand what you mean - but it sounds rather tedious? ;]

What I have done is, upload my own static animation (ie. only one keyframe), set it's priority to highest(4), set lead in/out to 0.00 sec - and set it to loop.

In the flightscript, I've tried to trigger the custom animation with timers, and control events.

I tried looping through the animationList and stopping the the flight animation.

But every time - the flight animation retriggers and starts rotating the avatar.

Am I missing something? oO
Django Yifu
Beat Island Gaffer
Join date: 7 May 2007
Posts: 189
10-05-2007 13:16
I'm pretty sure I have used an AO to overwrite the flight anims using an upright anim before. The anim was a freebie called JC pose I think. It's basically Christ on the cross so the avi us upright with arms out. When flying the avi is still upright. I have no idea what priority it is.

The script used was the Franimation script in a Wet Ikon 1.8 I think.

It may be that the hip needs to be rotated in the pose to overwrite the hip movement caused by the original flight animation.

I beleive when you upload anims to SL if something doesn't move SL doesn't include it in the anim structure. Try moving the hip to the right rotation after the first blank frame.

I'm no expert with anims but what I do know has been gleaned from the Animation Forum rather than the scripting one.

/52/1.html
m.
Good luck and I'd be interested to know how you fix the proble
_____________________
Tread softly upon the Earth for you walk on my face.