sets the animation instance of the player character - careful when using, could create desync if not used properly