Difference between revisions of "Animation Durations"
(Undo revision 1155256 by Strife Onizuka (Talk) original sequence list was correct) |
("Type" is more accurate than "Name" since animation overriders may have a different (and differently named) prejump animation, for instance) |
||
Line 7: | Line 7: | ||
{| class="sortable" {{prettytable}} | {| class="sortable" {{prettytable}} | ||
|-{{Hl2}} | |-{{Hl2}} | ||
![[Internal_Animations#User-playable_animations|Animation | ! [[Internal_Animations#User-playable_animations|Animation Type]] | ||
![[llGetAnimation#Constants|llGetAnimation | ! [[llGetAnimation#Constants|llGetAnimation Value]] | ||
!Duration in Seconds | ! Duration in Seconds | ||
|- | |- | ||
|prejump | | prejump | ||
|"PreJumping" | | "PreJumping" | ||
|0.033333333333333333 | | 0.033333333333333333 | ||
|- | |- | ||
|jump | | jump | ||
|"Jumping" | | "Jumping" | ||
|2.5 | | 2.5 | ||
|- | |- | ||
|slow fly | | slow fly | ||
|"FlyingSlow" | | "FlyingSlow" | ||
|0.033333333333333333 | | 0.033333333333333333 | ||
|- | |- | ||
|land | | land | ||
|"Landing" | | "Landing" | ||
|0.4 | | 0.4 | ||
|- | |- | ||
|stand up | | stand up | ||
|"Standing Up" | | "Standing Up" | ||
|2.6 | | 2.6 | ||
|} | |} | ||
Revision as of 05:49, 2 October 2011
Help Portal: |
Avatar | Bug Fixes | Communication | Community | Glossary | Land & Sim | Multimedia | Navigation | Object | Video Tutorials | Viewer | Wiki | Misc |
The following animation types are the only ones that have a predictable duration.
Animation Type | llGetAnimation Value | Duration in Seconds |
---|---|---|
prejump | "PreJumping" | 0.033333333333333333 |
jump | "Jumping" | 2.5 |
slow fly | "FlyingSlow" | 0.033333333333333333 |
land | "Landing" | 0.4 |
stand up | "Standing 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 in the middle, since they 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).