View Single Post
  #3  
Old 07-27-2011, 12:35 AM
sleiN13 sleiN13 is offline
Member
 
Join Date: Dec 2008
Posts: 83
In my own projects I set the idlepose/state to a "neutral" 1 frame animation that doesn't make my avatars jump between animation switches. For example if the avatar is sitting -> sitting looking around -> sitting talking -> sitting I will give it a base state of a sitting avatar. That way you don't have to do tricks with timers and most of the times you already have that one frame position that is equal to all animations begin and end states to make the animation go more fluently.

You could also try the fade-in en fade-out values (or setting them on 0):
<vizact>.animation(
number
delay_in = viz.AVATAR_DELAY
delay_out = viz.AVATAR_DELAY
freeze = False

)

or set freeze on true. But setting freeze on true will not end the animation and start the next one so you will need to start the next one your self. with timers again
Reply With Quote