[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensim-users
Subject:    [Opensim-users] Animations seem freeze framed when stopping them? OpenSim Master
From:       Chris <mewtwo0641 () gmail ! com>
Date:       2013-01-31 4:17:32
Message-ID: 5109F05C.3040504 () gmail ! com
[Download RAW message or body]

Hello all,

I'm running OpenSim commit fd34a75 (r/21883) and am noticing some 
oddness with playing and stopping animations. If I play an animation 
from inventory and then stop it, it will appear that my avatar is frozen 
in the last frame that was played before stopping instead of returning 
the avatar to the state that was in before the new animation was played. 
If I am playing and stopping animations from a script (such as an AO for 
instance); when the animation is stopped it will appear to keep playing 
until another animation is played after it. In both cases the weirdness 
with the stopped animation(s) will persist until some other animation is 
played whether it be another inventory animation or a default avatar 
movement animation. It doesn't seem to matter which animation is played 
from inventory / script.

For  a script it can sort of being worked around by doing this:

llStartAnimation("some_anim_name");

... Later on when it needs to be stopped ...

llStopAnimation("some_anim_name");
llStartAnimation("stand");
llStopAnimation("stand");

It gives the appearance that the animation is stopped; but I'm thinking 
that it's simply just overriding the stuck animation long enough to put 
a apply a new animation to the avatar to "unstick" it.

Its not an issue when the script plays one animation after another but 
if it's a one time animation that needs to be stopped the results can 
look really funny.

On a side note... I notice that when I attempt to play the same 
animation again with out first playing a different animation, the 
current playing animation won't appear to restart like it previously did 
not too long ago. I noticed this in my synced pose ball script that has 
a sync command which would simply play the poseball anim again when an 
avatar sat on it (sends a link message to other linked pose balls to 
tell them all to play the animation again) in attempt to sync up the 
animations of multiple avatars sitting on the link set.

Previously my sync function looked like this

sync()
{
     llStopAnimation(anim);
     llStartAnimation(anim);
}

Then had to change it to this once the animation issue started appearing 
to get it to work again

sync()
{
     llStopAnimation(anim);
     llStartAnimation("stand");
     llStopAnimation("stand");
     llStartAnimation(anim);
}

Is any one else experiencing this?

Thanks!

-- 
OpenSim: 10 Region Standalone on 0.7.5 Dev
Physics: Open Dynamics Engine
OS: Windows 7 (x64)
CPU: AMD Phenom II X4 840 3.2 GHz
Memory: 11 GB DDR3
Database: MySQL 5.1.63 (x64)

_______________________________________________
Opensim-users mailing list
Opensim-users@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/opensim-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic