Avindr / MxM-IssueTracking

7 stars 0 forks source link

Feature Request Apply Playable IK to AnimationClipPlayable #169

Closed 2Hadolphin closed 1 year ago

2Hadolphin commented 1 year ago

Unity routine phase of OnAnimatorIK() only invoke when animation playable set playable IK as true.

MxMAnimator.cs line 952: (add) clipPlayable.SetApplyPlayableIK(m_applyPlayableIK); line 980 : (add) clipPlayable.SetApplyPlayableIK(m_applyPlayableIK); line 1080 : (add) clipPlayable.SetApplyPlayableIK(m_applyPlayableIK); line 2229: (add) clipPlayable.SetApplyPlayableIK(m_applyPlayableIK);

2Hadolphin commented 1 year ago

I seems missed other playable IK setup in parital mxm animator.

Require a AnimationClipPlayable creation delegate, so we can setup playable config like PlayableIK by custom usage.

Avindr commented 1 year ago

I have added an 'ApplyPlayableIK' option to the MxMAnimator inspector which will SetApplyPlayableIK on the clipplayables.

Sorry, I do not understand what you are trying to say in your second comment. I will close this issue for now, if you have more details open a new issue with further information.

LudiKha commented 11 months ago

There are some places where it's not enabled, most notably for the Idle clips.