Skip to content

Transition between two animations with different transition times causes model distortion #1

@oxydien

Description

@oxydien

I've noticed an issue in the animation system when transitioning from one animation to another with different transition times. Specifically, the AnimationMixer seems to incorrectly handle weights during this transition, causing the size and angles of the model to become distorted or out of scale.

Steps to Reproduce:

  1. Load a 3D model into our system.
  2. Play an animation with a longer transition time.
  3. Transition to another animation with a shorter transition time.
  4. Observe the distortion in the size and angles of the model.

Expected Behavior:

The transition between animations should be smooth, regardless of their individual transition times. The size and angles of the model should remain proportional and within expected scales throughout the entire animation sequence.

Actual Behavior:

During the transition from an animation with a longer transition time to one with a shorter transition time, the AnimationMixer incorrectly handles weights, causing the size and angles of the model to become distorted or out of scale.

Problematic File:
AnimationMixer.java

Possible Hack Fix:

As a temporary workaround, setting all the animations' transition times to the same value could mitigate this issue until a more permanent solution can be implemented.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions