cc.PhysicsPolygonCollider 没办法在碰撞时更新restitution吗?

想要物件碰撞回调后更改弹跳系数,但更新似乎没有效果。
let collider = this.node.getcomponent(cc.PhysicsPolygonCollider);
collider.restitution=0;
当摩擦系数以及弹跳系数都为1,物体失控停不来,所以才想将弹跳系数归零