Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.3.1p3
Issue ID
763223
Regression
No
Animator.velocity spikes when blending animations with different length while the blend ratio changing
How to reproduce:
1. Open the attached project
2. Open and play Scene
3. Move the character with arrow keys to one direction
4. Stop and start moving again
5. Notice the spikes in the screen (Red graph on the screen indicates Animator.velocity.magnitude. Press space key to apply correction)
6. (workaround) Multiplying ratio of lengths (AnimatorStateInfo.length) of current and previous frames seems to correct the problem. Press Space in playmode to see this result
Note: tested using simple animation controller (without blend trees). It works fine
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Palette Settings link to the documentation isn’t working
- "Type Options" and "Node Library" dropdowns do not open when clicked on the title
- Public char variables uneditable in Inspector when project setting "Use IMGUI Default Inspector" is enabled
- IAP Listener component’s list titles go out of bounds when resizing the Inspector window horizontally
- Selected Camera sublayer blends with highlight color in Graphics Compositor window when Editor theme is set to Light
Add comment