Jump to content

Animations with offsets misbehaving recently


Phate Shepherd
 Share

You are about to reply to a thread that has been inactive for 1671 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Has anyone else seen their bikes or other vehicles misbehaving, especially low-riders? This only happen on vehicles where the animations changes as you drive, and only on vehicles that use offset animations (needed on low riding vehicles to prevent the avatar from raising the vehicle up.) The symptoms would be the avi jumping up into the air as the animation changes.

When creating vehicle animations, it is very common to create the animation with a negative Z offset so that the avatar drops down when the animation is played. This is necessary to prevent the avatar bounding box from hitting the ground and potentially raising the vehicle up and causing it to float.

In a BVH animation, this is represented by the first frame having a Z offset, and all subsequent frames having a lower Z offset. This first frame is special and NOT considered part of the animation, but a reference frame so that the BVH to anim conversion knows how to offset the avatar, as well as to determine which joints are animated and which ones are not.

In the past, I could switch at will between these offset animations in my vehicles, and they all stayed offset (typically 1M down from llSitTarget) without any problems. This keeps the avatar bounding box well above ground where it won't make the vehicle float.

Now, the Ease IN transition is being tweened from the llSitTarget that is up in the air, instead of the animation's offset position where it should be tweened from. This is causing the avatar to jump up and down as the animation is changed.

A sort-of work-around is to use an Ease-IN of 0, but that looks terrible, and doesn't fix past animations and products.

If you have seen this, can you chime in here:  https://jira.secondlife.com/browse/BUG-227435

  • Thanks 1
Link to comment
Share on other sites

On 8/2/2019 at 3:01 AM, Phate Shepherd said:

The symptoms would be the avi jumping up into the air as the animation changes.

This could be because it takes a while for the animation to load into/from cache (client-side problem with network or hard drive), or because the script is lagging and there's a noticeable gap between playing (stop and start) the separate animations.

Edited by Wulfie Reanimator
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
You are about to reply to a thread that has been inactive for 1671 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...