Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

"Sit animation" problems...

Jais Weary
Registered User
Join date: 6 Apr 2005
Posts: 30
05-10-2005 19:51
Umm, I'm having animation problems with my av, evertime I sti on something with a custom sit animation, I always get the default sit animation? I don't use any animation override scripts, does anybody know what the problem is?
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
05-10-2005 22:44
Set your custom animation's priority higher like 4.
The default sit animation is also one of the animaitons which can override your animation.
You can try to see how it works when you change its priority on each state at the uploading window.

I hope this can help you.
_____________________
:) Seagel Neville :)
Zuzi Martinez
goth dachshund
Join date: 4 Sep 2004
Posts: 1,860
05-11-2005 07:05
if the object you're sitting on is one you made you need to stop the default sit before starting your sit animation. there are scripts for that in the script library forum or ask in the regular scripting forum. it's not too complicated.
_____________________
Zuzi Martinez: if Jeska was Canadian would she be from Jeskatchewan? that question keeps me up at nite.
Jeska Linden: That is by far the weirdest question I've ever seen.
Jais Weary
Registered User
Join date: 6 Apr 2005
Posts: 30
05-11-2005 07:19
No I was talking about ALL of the seats, not just my own, and even the pose stands. Sometimes it will start to do the custom animation then it will make me squat in the default position. The torso will still work, but the legs always go into the default pose?
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
05-11-2005 08:20
Avatar has several pivot points on his body, like right upper arm, left hand, neck, breast, belly, pelvis, right upper leg, left foot and so on. And animation is the information of each pivot points' position and rotation along frames (time line).
Sit animation was made of pelvis (down), upper legs (90 degree rotating up along x-axis), lower legs (90 degree ratating down x-axis) like that.
When you sit by sit animation, other pivot points are free. So you can move hands, arms, neck and so on.
Problem will be occur when you do animation double used the exact same pivot points. Higher priority overrides lower.
And when you select "sit" on your pie menu, the default sit animation suppose to be fired. Same as walking. Did you wonder why your avatar's legs moved when you just hit upper arrow key? :p

If you make your own custom animations, you must always notice its priority. If you use animations made by someone else, it cannot help because the creater does not expect that you use it by sitting or thought nothing. :D
Yeah, Zuzi's advice is helpful so much though you cannot use it at the welcome area (no script area).
_____________________
:) Seagel Neville :)
Sean Gorham
Stopped making sense
Join date: 5 Mar 2005
Posts: 229
05-11-2005 10:52
Jais, if you're using an animation overrider on your avatar, make sure you've disabled or detached it before sitting on an object with a custom sit animation. AOs will often interfere with an object's sit anim.
_____________________
COOL GEAR BY GORHAM
Clothing, Animations, Gadgets and More!
Serpent Isle | Magenta | Manhunt Mall | Sylvina
SLBoutique | SL Exchange
Jais Weary
Registered User
Join date: 6 Apr 2005
Posts: 30
05-12-2005 17:40
OK, I tryed all the suggestions I could, and I still have the problem of my av going to the default sit pose everytime, sometimes he'll be sitting on air?! Am I the only one with this problem?
Jais Weary
Registered User
Join date: 6 Apr 2005
Posts: 30
05-12-2005 20:28
Finally found the problem. I stripped my av to the skin and tryed all his clothing items 1 by 1 and found out that an item "matrix glasses 2004" was the cause. I didn't even know those glasses had an animation and I've been wearing them all along? LOL Anyway sorry for the confusion everyone...
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
05-12-2005 20:38
From: Jais Weary
OK, I tryed all the suggestions I could, and I still have the problem of my av going to the default sit pose everytime, sometimes he'll be sitting on air?! Am I the only one with this problem?

Jais, a little insight...

Basically your AV has a stack of animations constantly up... the top of the stack is what's currently playing.

When you sit on anything, SL automatically performs "sitting" and then "sit". Depending on the timing of your Animation Overrider, here's a few of the possibilities of what could happen:

1. The AO does nothing on sit.
2. The AO triggers an animation with a higher priority than sit, before sit is activated.
3. The AO triggers an animation with a higher priority than sit, after sit is activated.
4. The AO triggers an animation with a lower priority that sit.
5. The AO does a stopAnimation command before the sit is active. (too early)
6. The AO does a stopAnimation command after the sit is active.
7. 5, and then 3.
8. 5, and then 4.
9. 6, and then 3.
10. 6, and then 4.

Each one will have a slightly different result, and depending on the timing, animation priority, animation's body part movements, and bugs in SL, the behavior has a variety of possibilities.

...

Knowing that, I believe I've seen what is happening to you - I've seen that happen when the AO does a stopAnimation BEFORE sit - and so it stops the "sitting" animation making your AV appear to stand. Then the sit triggers, but it's often offset in the wrong place, because the "sitting" animation never finished.

I had to deal with this in my PosCubes, and my solution was to hard-code it to llStopAnimation("sit";) rather than trying to llStopAnimation([get the current animation]).
I tried doing it with a delay in the code, but that's also dependant on sim lag (it's a race condition between script and animation perform)

So... if you're taking off / disabling your AO and STILL having this problem, it tells me that you still have something that's trying to override the sit animation... that may not help you on the forum, but you can ask Live Help for assistance, and perhaps with this insight you can get to the bottom of it.

Good luck :)
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Jais Weary
Registered User
Join date: 6 Apr 2005
Posts: 30
05-12-2005 22:30
Yea Hiro I did have something else trying to animate my av, my glasses. All that time I was wearing them and I didn't even know it until I placed on the ground.
Hiro Pendragon
bye bye f0rums!
Join date: 22 Jan 2004
Posts: 5,905
05-13-2005 00:06
From: Jais Weary
Yea Hiro I did have something else trying to animate my av, my glasses. All that time I was wearing them and I didn't even know it until I placed on the ground.

You don't want to know how often I hear similar cases in Live Help :)

It'd be nice if AOs were OFF by default and you had to consciously turn them on :)
_____________________
Hiro Pendragon
------------------
http://www.involve3d.com - Involve - Metaverse / Emerging Media Studio

Visit my SL blog: http://secondtense.blogspot.com
Jais Weary
Registered User
Join date: 6 Apr 2005
Posts: 30
05-13-2005 12:42
Lol, yea, that would've saved my ALOT of time and confusion...