Search Issue Tracker

Not Reproducible

Votes

0

Found in

2019.3.0a1

2019.3.0b1

2020.1.0a1

Issue ID

1180044

Regression

No

Cannot read non-solved IK position when using GetGoalPosition

Animation

-

How to reproduce:
1. Open the user's project
2. Press Play

Expected result: Ray is drawn where the foot would be if an animation was enabled
Actual result: Ray is drawn at the same spot where the foot is

Reproducible with - 2019.3.0b7, 2020.1.0a9
Could not test with - 2019.2.10f1 and earlier (Playable Graph errors)

  1. Resolution Note (2019.3.X):

    I can't repro the bug locally as I don't have the tools (blender) to import the project.

    The only place valid to call an IK method is from OnAnimatorIK/OnStateIK or from an animation job.

    In OnAnimatorIK if all your states don't have foot IK enabled or all yours AnimationClipPlayable doesn't set ApplyFootIK or ApplyPlayableIK On you should be able to retrieve the goals.
    You can also get them from an animation job ProcessAnimation method. Of course, this job needs to be connected as an output of a ClipPlayable to get the non-solved IK goal position.

    You can also get them from an animation job ProcessAnimation method. Of course, this job needs to be connected as an output of a ClipPlayable to get the non-solved IK goal position.

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.