Categories
Uncategorized

working capes again

got the capes working on mount and while he runs, huge hurdle. turns out there was an override in ummorpg player.cs that goes to the default animator controller instead of any children controllers in use. by adding && info.location.name != “Cape” we can bypass this override and use the animator controller as desired.

Animator anim = go.GetComponent<Animator>(); if (anim != null && info.location.name != “Cape”) { // assign main animation controller to it anim.runtimeAnimatorController = animator.runtimeAnimatorController; // restart all animators, so that skinned mesh equipment will be // in sync with the main animation RebindAnimators(); }

Leave a Reply

Your email address will not be published. Required fields are marked *