Search Issue Tracker

By Design

Fixed in 2017.1.X

Votes

2

Found in

2017.1.0f2

Issue ID

932843

Regression

No

[Animation] Reverting an Animator Controller causes different deltaPosition

Animation

-

Steps to reproduce:
1. Open attached project
2. Open scene named "scene"
3. Click on "Aydan" game object
4. On the Controller component set the amount of frames to 100 and the Capture frame to 25
5. Press play

Result: deltaPosition on the first loop is different from all the following loops
Expected result: All loops should be consistent

Reproduced on: 5.6.2f1, 2017.1.0f3, 2017.2.0b3

  1. Resolution Note:

    The discrepancy is caused by the feet pivot feature of the humanoid, which helps smooth out motion. When doing sharp jumps in poses, the smoothing get in the way.
    You can set Animator.feetPivotActive (https://docs.unity3d.com/ScriptReference/Animator-feetPivotActive.html) to 0 to turn off the feet pivot adjustment.

    You can either turn it off permanently, or just turn it off before evaluating the capture frame(and turning it on again after).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.