cc.PhysicsChainCollider.points and Animation

Hello, tell me, please. I have a sprite animation. How to make cc.PhysicsChainCollider.points change on every frame? I assigned them tags, but anyway, if I switch from sprite to sprite, the settings get lost. What to do?