AnimatorMovementSetID runtime change?

Nevets

New member
Hey Justin,

I have been trying to change an item's AnimatorMovementSetID at runtime (from1 to 2) but it doesnt use the correct animations it still uses those from the old value.

When I change the AnimatorMovementSetID value in the editor not runtime then hit play it works fine uses the correct animations.

Is it possible to amend AnimatorMovementSetID at runtime and do I maybe need to call anything after to update it?
 
AnimatorMonitor.SetItemIDParameter needs to be called in order for the id to actually update.
 
Thanks Justin will use SetItemIDParameter for this, I see that it requires 2 inputs would the first refer to the itemslotId so if using pistol as an example this would be 0? (if dual pistols would have to change 0 and 1)
 
Top