Search Issue Tracker

Won't Fix

Votes

0

Found in

5.5.0a1

Issue ID

784601

Regression

No

Animator MatchTarget terminates before requested time when the match takes place on next loop

Animation

-

Run attached project in paused "step by step" mode, and look at the console.

MatchTarget is "scheduled" between 0.1 and 0.4 in normalized time (clip has a length of 1 s, so normalized = regular time).

We call a MatchTarget when t > 0.4 (so "matching window" for first loop iteration is passed) and expect cube to be moving towards target between t = 1.1 and t = 1.4.

Note in the debug traces that at t = 1.26, target has already been reached in y, and animator.isMatchingTarget is already false, when we do not expect the match to be complete before t = 1.4.

I'm also puzzled as to why the x position would be -1.

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.