Ahh. This method works in the IK Pass. That means that you probably need to call this method in “OnAnimatorIK” event instead of a regular “Update” event. To do so, please try using the Animator event node (“Events/Object/Animator”) and more specifically the “On Animator IK” port of that node, in place of the “Update” node you have now.
Just make sure, to assign the “tree pose” animator gameobject you have in the “target” animator field of that event node’s inspector.
Let me know if that works for you.
Thank you.
Join us on Discord: https://discord.gg/97q2Rjh
Attachments:
OnAnimatorIK.png
AnimatorEventsInspector.png
Login
Register
By registering on this website you agree to our Privacy Policy.