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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
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.