How to play custom dance animations in the new serverauthoritative model?

I recently transitioned to the new server authoritative model. But my game is not set up to work with this model. Now custom animations are not playing because the player characters are not using the Animator anymore. For context, this is used for a celebration effect in my game.

Can anyone give me sample code for playing custom dance animations with the new server-authoritative model? Thankyou.

1 Like

you have to be playing them on both client and on server for it to work
havent went in depth understanding how such replication will work yet but you can just look at default animate script with server authority on to understand how its implemented

1 Like