Animation Durations

From Second Life Wiki
Revision as of 07:16, 29 September 2011 by Coaldust Numbers (talk | contribs)
Jump to navigation Jump to search

The following animation types are the only ones that have a predictable duration.

Animation Type Duration in Seconds
prejump 0.033333333333333333
jump 2.5
slow fly 0.033333333333333333
land 0.4
stand up 2.6

"slow fly" is triggered when you start to move forward, during the transition between hover and fly animations. "prefly" would have been a clearer, and more consistent, name. This might come as a surprise to people expecting slow fly to be another form of movement.

This information is important for avoiding creating animations that will run longer than the action takes.

That said, simulator lag can cause an action to take longer than normal. For that reason, it's best for prejump, jump, and slow fly animations to be looped. That will prevent them from ending early under laggy conditions. If your prejump or slow fly animation is longer than one frame you should normally make the last frame the loop body. This will cause you to become stuck in the appropriate pose until the jump or fly action starts. Jump animations should normally be looped from start to finish, since they only play while you are in the air. You should not loop land and stand up animations. If they were looped you would land or stand up repeatedly, or appear stuck in a pose, when lagging. They look natural ending before the simulator 'notices' because they end a action sequence (prejump, jump, land or fall, land or fall, stand up).

See Also